Do not re-prototype strdup()
authorPeter Howkins <flibble@users.sourceforge.net>
Sun, 11 Mar 2012 18:04:30 +0000 (18:04 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Sun, 11 Mar 2012 18:04:30 +0000 (18:04 +0000)
cde/lib/DtSvc/DtUtil1/strtab.c

index 36b00035c490ff9be1f419366d792548ab09c430..26c0015b8f238e5e32f20f790235c06728e710c2 100644 (file)
@@ -67,7 +67,9 @@ struct strtab_build {
 
 static void inc_it  (int * a, int * b, unsigned char * key);
 static void build_it(int a, struct strtab_build * ptr, unsigned char * key);
+#if !defined(linux)
 extern char * strdup(const char *);
+#endif
 typedef        int (*des_func)(void *);
 
 /*