aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-02-22 01:51:38 +0000
committerIan Lance Taylor <ian@airs.com>1994-02-22 01:51:38 +0000
commitaaca79a831914a9dcb8783593a873402c93f1dfc (patch)
tree6c86b167a25c0a27bb6d5d15467df33a39f403c1
parent254f845017e317ab09dd5ae3a1c03d1a976fbea6 (diff)
downloadgdb-aaca79a831914a9dcb8783593a873402c93f1dfc.zip
gdb-aaca79a831914a9dcb8783593a873402c93f1dfc.tar.gz
gdb-aaca79a831914a9dcb8783593a873402c93f1dfc.tar.bz2
* hosts/hp300.h: Include <stdlib.h>; don't declare free.
-rw-r--r--bfd/ChangeLog2
-rw-r--r--bfd/hosts/hp300.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 96af5c5..e5cfa54 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -5,6 +5,8 @@ Mon Feb 21 10:12:02 1994 Stan Shebs (shebs@andros.cygnus.com)
Mon Feb 21 09:50:06 1994 Ian Lance Taylor (ian@lisa.cygnus.com)
+ * hosts/hp300.h: Include <stdlib.h>; don't declare free.
+
* som.c (som_bfd_count_ar_symbols): Use a pointer and alloca
rather than an array of variable size.
(som_bfd_fill_in_ar_symbols): Likewise.
diff --git a/bfd/hosts/hp300.h b/bfd/hosts/hp300.h
index e1bbaa4..28dcb51 100644
--- a/bfd/hosts/hp300.h
+++ b/bfd/hosts/hp300.h
@@ -1,4 +1,5 @@
#include <stddef.h>
+#include <stdlib.h>
#include <fcntl.h>
#include <errno.h>
#include <stdio.h>
@@ -17,8 +18,6 @@
#define USE_UTIME
-void free();
-
/* Some things that need to be defined in order to make code written for
BSD Unix compile under System V Unix. */