summaryrefslogtreecommitdiff
path: root/def.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-10-07 18:02:34 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-10-07 18:02:34 -0700
commitb9770941ae829ad2cb985efe809d6e3dd690648b (patch)
tree8a7373b23d8099bcbe627865ae0a2ac662d2af11 /def.h
parent0ecf5f3251033ab6efa1a0d881f75ed9ce60b5a4 (diff)
Call strdup directly, instead of via copy macro
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'def.h')
-rw-r--r--def.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/def.h b/def.h
index ce344a8..3f55a52 100644
--- a/def.h
+++ b/def.h
@@ -130,7 +130,6 @@ struct filepointer {
#include <stdlib.h>
-#define copy(s) strdup(s)
int match(const char *str, const char * const *list);
char *base_name(const char *file);
char *getnextline(struct filepointer *fp);