aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-09-08 19:42:01 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-09-08 19:42:01 +0000
commitce3700e3ba57f07a44a2edc9d8b146a7682bb54e (patch)
treec492c082ca18b5ddb799202154dfb028acb16bb7 /gcc/system.h
parentc45a8466e615418926ac97e765e7cee80c020698 (diff)
downloadgcc-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.h10
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