summaryrefslogtreecommitdiff
path: root/src/s/osf1.h
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
commite08455275a9859ac679ecc7dbdf89f397ad68d6b (patch)
treec3f8804f7059976038215ed746d87dbe02638b6e /src/s/osf1.h
parentaeb2c3069ec112f2f755f5eecd43b07da5c7c52d (diff)
downloademacs-e08455275a9859ac679ecc7dbdf89f397ad68d6b.tar.gz
(malloc, realloc): Declared.
Diffstat (limited to 'src/s/osf1.h')
-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