summaryrefslogtreecommitdiff
path: root/src/s
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-09-20 00:26:25 +0000
committerRichard M. Stallman <rms@gnu.org>1994-09-20 00:26:25 +0000
commitb9f431df69a89ce0e48b5f2f4e231a9c1b6cc99c (patch)
treeb45ac3c51ee3c27147a27007a3b49021f6ed0e5f /src/s
parent677a69a4fa35d03078913a3f00992156a614afb9 (diff)
downloademacs-b9f431df69a89ce0e48b5f2f4e231a9c1b6cc99c.tar.gz
(malloc, realloc): Declared.
Diffstat (limited to 'src/s')
-rw-r--r--src/s/osf1.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/s/osf1.h b/src/s/osf1.h
index a8c8dbe6b3a..76942df6413 100644
--- a/src/s/osf1.h
+++ b/src/s/osf1.h
@@ -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