aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-06-14 20:50:29 +0000
committerSteve Chamberlain <steve@cygnus>1991-06-14 20:50:29 +0000
commite6129e2bc2e5e31bdbfba725980a62febe44ac64 (patch)
tree573a76ba3128740b4fefb2de1f465614eb2331f5 /bfd
parentea0170976337baa912b74c7b9b95da87ffcff212 (diff)
downloadgdb-e6129e2bc2e5e31bdbfba725980a62febe44ac64.zip
gdb-e6129e2bc2e5e31bdbfba725980a62febe44ac64.tar.gz
gdb-e6129e2bc2e5e31bdbfba725980a62febe44ac64.tar.bz2
Made it better
Diffstat (limited to 'bfd')
-rw-r--r--bfd/hosts/dgux.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/bfd/hosts/dgux.h b/bfd/hosts/dgux.h
index 57351c2..7db80bf 100644
--- a/bfd/hosts/dgux.h
+++ b/bfd/hosts/dgux.h
@@ -1,7 +1,8 @@
#include <errno.h>
+#include <sys/types.h>
#include <sys/dg_c_generics.h>
#include <unistd.h>
-#include <stdlib.h>
+
#include <string.h>
#include <fcntl.h>
#include <sys/stat.h>
@@ -10,6 +11,16 @@
#include <stdio.h>
+#ifndef DONTDECLARE_MALLOC
+extern PROTO(PTR,malloc,(unsigned));
+extern PROTO(PTR ,realloc, (PTR, unsigned));
+#endif
+extern PROTO(int, abort,(void));
+extern PROTO(int, free,(PTR));
+extern PROTO(void, bcopy,(char*,char*,int));
+extern PROTO(void, exit,(int));
+extern int strtol();
+extern PROTO(void, bzero,(char *, int));
#define NO_STDARG 1