changeset 8927:4477436f8ba5

(malloc, realloc): Declared.
author Richard M. Stallman <rms@gnu.org>
date Tue, 20 Sep 1994 00:26:25 +0000
parents 2231664084c2
children 0ea4cc4ca339
files src/s/osf1.h
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/osf1.h	Mon Sep 19 21:50:20 1994 +0000
+++ b/src/s/osf1.h	Tue Sep 20 00:26:25 1994 +0000
@@ -17,3 +17,10 @@
 #endif
 
 #define SYSV_SYSTEM_DIR
+
+/* Declare malloc and realloc in a way that is clean.
+   But not in makefiles!  */
+
+#ifndef THIS_IS_YMAKEFILE
+extern void *malloc (), *realloc ();
+#endif