* config/sparc/xm-sun4os4.h: Declare free() to return int.
authorJim Kingdon <jkingdon@engr.sgi.com>
Wed, 28 Apr 1993 13:51:26 +0000 (13:51 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Wed, 28 Apr 1993 13:51:26 +0000 (13:51 +0000)
Remove twisted use of PARAMS.

gdb/ChangeLog
gdb/config/sparc/xm-sun4os4.h

index be79d7d0e281937fb0c1382f9e51ee979aa0cdfd..e97186da92dc2b66bb8230c115c40be058a364c8 100644 (file)
@@ -1,5 +1,8 @@
 Wed Apr 28 06:11:38 1993  Jim Kingdon  (kingdon@cygnus.com)
 
+       * config/sparc/xm-sun4os4.h: Declare free() to return int.
+       Remove twisted use of PARAMS.
+
        * config/rs6000/xm-rs6000.h: Don't define MALLOC_INCOMPATIBLE now
        that ansidecl.h assumes ANSI on AIX.
 
index a532f6edcb009cca8c47aa7d1960c6fc3010d338..435066e19fc0e99c0d4b5203a1e2e9f16e9507e9 100644 (file)
@@ -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() */
 
This page took 0.03639 seconds and 4 git commands to generate.