* 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:
Fred Fish
1993-05-08 19:42:07 +00:00
parent 1adf2ba9db
commit 64c5ac4f6d
2 changed files with 19 additions and 0 deletions

View File

@@ -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

View File

@@ -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 *));