forked from Imagelibrary/binutils-gdb
* config/pa/xm-hppah.h (MALLOC_INCOMPATIBLE): Define it, and
include declarations for malloc/realloc/free. Both malloc and realloc return 'void *' for non-ANSI compilations.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
Sat May 8 12:36:03 1993 Fred Fish (fnf@cygnus.com)
|
||||
|
||||
* config/pa/xm-hppah.h (MALLOC_INCOMPATIBLE): Define it, and
|
||||
include declarations for malloc/realloc/free. Both malloc and
|
||||
realloc return 'void *' for non-ANSI compilations.
|
||||
|
||||
Sat May 8 01:39:30 1993 (pes@regent.e-technik.tu-muenchen.de)
|
||||
|
||||
* coffread.c (read_coff_symtab): Don't fclose stream as it is no
|
||||
|
||||
@@ -57,3 +57,16 @@ memcpy PARAMS ((void *, const void *, size_t)); /* 4.11.2.1 */
|
||||
extern void *
|
||||
memset PARAMS ((void *, int, size_t)); /* 4.11.6.1 */
|
||||
|
||||
/* HP defines malloc and realloc as returning void *, even for non-ANSI
|
||||
compilations (such as with the native compiler). */
|
||||
|
||||
#define MALLOC_INCOMPATIBLE
|
||||
|
||||
extern void *
|
||||
malloc PARAMS ((size_t));
|
||||
|
||||
extern void *
|
||||
realloc PARAMS ((void *, size_t));
|
||||
|
||||
extern void
|
||||
free PARAMS ((void *));
|
||||
|
||||
Reference in New Issue
Block a user