diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1999-09-08 19:42:01 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1999-09-08 19:42:01 +0000 |
commit | ce3700e3ba57f07a44a2edc9d8b146a7682bb54e (patch) | |
tree | c492c082ca18b5ddb799202154dfb028acb16bb7 /gcc/system.h | |
parent | c45a8466e615418926ac97e765e7cee80c020698 (diff) | |
download | gcc-ce3700e3ba57f07a44a2edc9d8b146a7682bb54e.zip gcc-ce3700e3ba57f07a44a2edc9d8b146a7682bb54e.tar.gz gcc-ce3700e3ba57f07a44a2edc9d8b146a7682bb54e.tar.bz2 |
system.h (sbrk, [...]): Backup prototypes changed from extern char *, to extern PTR.
* system.h (sbrk, malloc, calloc, realloc): Backup prototypes
changed from extern char *, to extern PTR. Also fix typo in
NEED_DECLARATION_REALLOC test.
* mips-tdump.c (malloc, calloc, realloc): Don't prototype.
From-SVN: r29210
Diffstat (limited to 'gcc/system.h')
-rw-r--r-- | gcc/system.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/system.h b/gcc/system.h index 0f960af..960e174 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -338,7 +338,7 @@ extern char *getwd (); #endif #ifdef NEED_DECLARATION_SBRK -extern char *sbrk (); +extern PTR sbrk (); #endif #ifdef NEED_DECLARATION_STRSTR @@ -350,15 +350,15 @@ extern char *strstr (); #endif #ifdef NEED_DECLARATION_MALLOC -extern char *malloc (); +extern PTR malloc (); #endif #ifdef NEED_DECLARATION_CALLOC -extern char *calloc (); +extern PTR calloc (); #endif -#ifdef NEED_DECLARATION_REMALLOC -extern char *realloc (); +#ifdef NEED_DECLARATION_REALLOC +extern PTR realloc (); #endif #ifdef HAVE_STRERROR |