* 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
+Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * 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.
+
Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
const char *lang_to_string __proto((lang_t));
const char *type_to_string __proto((AUXU *, int, FDR *));
-#ifndef __alpha
-# ifdef NEED_DECLARATION_MALLOC
-extern PTR_T malloc __proto((size_t));
-# endif
-# ifdef NEED_DECLARATION_CALLOC
-extern PTR_T calloc __proto((size_t, size_t));
-# endif
-# ifdef NEED_DECLARATION_REALLOC
-extern PTR_T realloc __proto((PTR_T, size_t));
-# endif
-#endif
-
extern char *optarg;
extern int optind;
extern int opterr;
#endif
#ifdef NEED_DECLARATION_SBRK
-extern char *sbrk ();
+extern PTR sbrk ();
#endif
#ifdef NEED_DECLARATION_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