mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-23 13:21:43 +08:00
* config/sparc/xm-sun4os4.h: Declare free() to return int.
Remove twisted use of PARAMS.
This commit is contained in:
parent
609e1c577b
commit
e82980e4ec
@ -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.
|
||||
|
||||
|
@ -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() */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user