From: Peter Howkins Date: Sun, 11 Mar 2012 18:04:30 +0000 (+0000) Subject: Do not re-prototype strdup() X-Git-Tag: 2.2.0a~26^2~147 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b985680de6efe861557d2d2aaba20da541bd9625;p=oweals%2Fcde.git Do not re-prototype strdup() --- diff --git a/cde/lib/DtSvc/DtUtil1/strtab.c b/cde/lib/DtSvc/DtUtil1/strtab.c index 36b00035..26c0015b 100644 --- a/cde/lib/DtSvc/DtUtil1/strtab.c +++ b/cde/lib/DtSvc/DtUtil1/strtab.c @@ -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 *); /*