diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-06-10 17:55:45 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-06-10 17:55:45 +0000 |
commit | 726672c5a5c0fb9c750a461a7eadb9ad980b8968 (patch) | |
tree | bdcd6176e5242a013e400883182f0aa073a68bc3 /gas | |
parent | 22aabad533bdca449695c5653029f80ad039723f (diff) | |
download | gdb-726672c5a5c0fb9c750a461a7eadb9ad980b8968.zip gdb-726672c5a5c0fb9c750a461a7eadb9ad980b8968.tar.gz gdb-726672c5a5c0fb9c750a461a7eadb9ad980b8968.tar.bz2 |
* config/ho-sunos.h: Include <stdlib.h>. Don't declare malloc,
realloc, free, or atol.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/ho-sunos.h | 7 |
2 files changed, 6 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 33f53af..b5e37516 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +Fri Jun 10 13:48:49 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * config/ho-sunos.h: Include <stdlib.h>. Don't declare malloc, + realloc, free, or atol. + Wed Jun 8 06:28:37 1994 Bill Cox (bill@cygnus.com) * Makefile.in (check): Delete as.new dependency, so that diff --git a/gas/config/ho-sunos.h b/gas/config/ho-sunos.h index 8346b55..c93b700 100644 --- a/gas/config/ho-sunos.h +++ b/gas/config/ho-sunos.h @@ -32,13 +32,10 @@ extern char* memset (); #include <stddef.h> #include <ctype.h> #include <string.h> +#include <stdlib.h> /* externs for system libraries. */ -/*extern int abort();*/ -/*extern int exit();*/ -extern char *malloc (); -extern char *realloc (); extern char *strchr (); extern char *strrchr (); extern int _filbuf (); @@ -46,7 +43,6 @@ extern int _flsbuf (); extern int fclose (); extern int fgetc (); extern int fprintf (); -extern int free (); extern int printf (); extern int setvbuf (); extern int sscanf (); @@ -57,7 +53,6 @@ extern int ungetc (); extern int vfprintf (); extern int vprintf (); extern int vsprintf (); -extern long atol (); #ifndef tolower extern int tolower (); |