aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1992-12-03 23:45:13 +0000
committerKen Raeburn <raeburn@cygnus>1992-12-03 23:45:13 +0000
commitdcc54cad9612ffb15206e53377406b6ddda183fc (patch)
tree037fd834d8c4090e629926a81e0c4417ed9e770d /gas
parent88db8f81f252a5be9353e3c6f40c50c8622d1a2a (diff)
downloadgdb-dcc54cad9612ffb15206e53377406b6ddda183fc.zip
gdb-dcc54cad9612ffb15206e53377406b6ddda183fc.tar.gz
gdb-dcc54cad9612ffb15206e53377406b6ddda183fc.tar.bz2
declare malloc, realloc
Diffstat (limited to 'gas')
-rw-r--r--gas/config/ho-generic.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/config/ho-generic.h b/gas/config/ho-generic.h
index b1b0a93..967603f 100644
--- a/gas/config/ho-generic.h
+++ b/gas/config/ho-generic.h
@@ -25,6 +25,11 @@
#define HAVE_STRERROR
+#ifdef __STDC__
+extern void *malloc (), *realloc ();
+#else
+extern char *malloc (), *realloc ();
+#endif
extern int free ();
/* end of ho-generic.h */