summaryrefslogtreecommitdiff
path: root/src/system.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-10-23 16:07:31 +0000
committerJim Meyering <jim@meyering.net>1997-10-23 16:07:31 +0000
commit339afbb210200fbfd7839fc9ce6593daef8e057b (patch)
treef7906ab9800605f583dbbe31ff36dc8e946b417e /src/system.h
parentf4d8e1014721b7e1da7cdc14975bc438ee257f19 (diff)
downloadcoreutils-339afbb210200fbfd7839fc9ce6593daef8e057b.tar.xz
[!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.h20
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