* config/sparc/xm-sun4os4.h: Declare free() to return int.

Remove twisted use of PARAMS.
This commit is contained in:
Jim Kingdon 1993-04-28 13:51:26 +00:00
parent 609e1c577b
commit e82980e4ec
2 changed files with 8 additions and 3 deletions

View 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.

View 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() */