diff options
| author | Jim Meyering <jim@meyering.net> | 1997-10-23 16:07:31 +0000 |
|---|---|---|
| committer | Jim Meyering <jim@meyering.net> | 1997-10-23 16:07:31 +0000 |
| commit | 339afbb210200fbfd7839fc9ce6593daef8e057b (patch) | |
| tree | f7906ab9800605f583dbbe31ff36dc8e946b417e /src/system.h | |
| parent | Remove stpcpy decl. (diff) | |
| download | coreutils-339afbb210200fbfd7839fc9ce6593daef8e057b.tar.gz coreutils-339afbb210200fbfd7839fc9ce6593daef8e057b.zip | |
[!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.
Diffstat (limited to 'src/system.h')
| -rw-r--r-- | src/system.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h index 0f84cd422..d1e71cfbd 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 |
