diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-08 19:42:01 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-08 19:42:01 +0000 |
commit | 38c4943007120d0f2347082776ff9cd3c480c715 (patch) | |
tree | c492c082ca18b5ddb799202154dfb028acb16bb7 /gcc/system.h | |
parent | 52e15502bed323e0b169b0c44644d7fd0e612dee (diff) | |
download | gcc-38c4943007120d0f2347082776ff9cd3c480c715.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29210 138bc75d-0d04-0410-961f-82ee72b054a4
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 0f960aff348..960e174f056 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 |