From: Jim Meyering Date: Thu, 23 Oct 1997 16:07:31 +0000 (+0000) Subject: [!HAVE_DECLARATION_FREE]: Declare free. X-Git-Tag: TEXTUTILS-1_22c~199 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=339afbb210200fbfd7839fc9ce6593daef8e057b;p=thirdparty%2Fcoreutils.git [!HAVE_DECLARATION_FREE]: Declare free. [!HAVE_DECLARATION_MALLOC]: Declare malloc. [!HAVE_DECLARATION_REALLOC]: Declare realloc. [!HAVE_DECLARATION_STPCPY]: Declare stpcpy. [!HAVE_DECLARATION_STRSTR]: Declare strstr. --- diff --git a/src/system.h b/src/system.h index 0f84cd422d..d1e71cfbd8 100644 --- a/src/system.h +++ b/src/system.h @@ -383,3 +383,23 @@ char *alloca (); #endif #define STREQ(a,b) (strcmp((a), (b)) == 0) + +#ifndef HAVE_DECLARATION_FREE +void free (); +#endif + +#ifndef HAVE_DECLARATION_MALLOC +char *malloc (); +#endif + +#ifndef HAVE_DECLARATION_REALLOC +char *realloc (); +#endif + +#ifndef HAVE_DECLARATION_STPCPY +char *stpcpy (); +#endif + +#ifndef HAVE_DECLARATION_STRSTR +char *strstr (); +#endif