]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
[!HAVE_DECLARATION_FREE]: Declare free.
authorJim Meyering <jim@meyering.net>
Thu, 23 Oct 1997 16:07:31 +0000 (16:07 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 23 Oct 1997 16:07:31 +0000 (16:07 +0000)
[!HAVE_DECLARATION_MALLOC]: Declare malloc.
[!HAVE_DECLARATION_REALLOC]: Declare realloc.
[!HAVE_DECLARATION_STPCPY]: Declare stpcpy.
[!HAVE_DECLARATION_STRSTR]: Declare strstr.

src/system.h

index 0f84cd422ddf1d386714095b10b3fd5b025e47ad..d1e71cfbd89d80ebb574ccbacfcf9a130998c66e 100644 (file)
@@ -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