diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-04-28 13:51:26 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-04-28 13:51:26 +0000 |
commit | e82980e4ec5a5d241020d0908d537b6580501e30 (patch) | |
tree | 0112c05a35d67856526251dfbb4665eeab1ab293 /gdb/config | |
parent | 609e1c577b992b09f4b823d8918f375b08b99463 (diff) | |
download | gdb-e82980e4ec5a5d241020d0908d537b6580501e30.zip gdb-e82980e4ec5a5d241020d0908d537b6580501e30.tar.gz gdb-e82980e4ec5a5d241020d0908d537b6580501e30.tar.bz2 |
* config/sparc/xm-sun4os4.h: Declare free() to return int.
Remove twisted use of PARAMS.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/sparc/xm-sun4os4.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/config/sparc/xm-sun4os4.h b/gdb/config/sparc/xm-sun4os4.h index a532f6e..435066e 100644 --- a/gdb/config/sparc/xm-sun4os4.h +++ b/gdb/config/sparc/xm-sun4os4.h @@ -44,9 +44,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* /usr/include/malloc.h defines these w/o prototypes (and uses char * instead of void *). */ #define MALLOC_INCOMPATIBLE -extern char* malloc PARAMS (()); -extern char* realloc PARAMS (()); -extern void free PARAMS (()); +extern char* malloc (); +extern char* realloc (); +/* Yes, it really does define it as returning int, both in malloc.h and + stdlib.h, at least on SunOS 4.1.1. */ +extern int free (); /* SunOS 4.x uses nonstandard "char *" as type of third argument to ptrace() */ |