aboutsummaryrefslogtreecommitdiff
path: root/sim/igen/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/igen/misc.h')
-rw-r--r--sim/igen/misc.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sim/igen/misc.h b/sim/igen/misc.h
index 808570a..76a29b6 100644
--- a/sim/igen/misc.h
+++ b/sim/igen/misc.h
@@ -110,10 +110,6 @@ do { \
#define ZALLOC(TYPE) ((TYPE*) zalloc (sizeof(TYPE)))
#define NZALLOC(TYPE,N) ((TYPE*) zalloc (sizeof(TYPE) * (N)))
-#if 0
-#define STRDUP(STRING) (strcpy (zalloc (strlen (STRING) + 1), (STRING)))
-#define STRNDUP(STRING,LEN) (strncpy (zalloc ((LEN) + 1), (STRING), (LEN)))
-#endif
extern void *zalloc (long size);