X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Flib.c;h=66c966036fa692954f97a76313f54df1b3670ae3;hb=d5834686ad14b66420060192445f06bce85db389;hp=3a4f31f16a8f749b7eab5e4caea08d32e5e9b126;hpb=34dbc845a86903c0b531216b166a4d596255bc9a;p=tpg%2Facess2.git diff --git a/Kernel/lib.c b/Kernel/lib.c index 3a4f31f1..66c96603 100644 --- a/Kernel/lib.c +++ b/Kernel/lib.c @@ -477,7 +477,7 @@ char *strdup(const char *Str) strcpy(ret, Str); return ret; } -#endif +#else /** * \fn char *_strdup(const char *File, int Line, const char *Str) @@ -491,6 +491,7 @@ char *_strdup(const char *File, int Line, const char *Str) strcpy(ret, Str); return ret; } +#endif /** * \brief Split a string using the passed character