aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 7791158..a7f2458 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -682,12 +682,9 @@ strerror PARAMS ((int)); /* 4.11.6.2 */
# define alloca __builtin_alloca
# else
# ifdef sparc
-# include <alloca.h>
- extern char *alloca (); /* SPARC alloca.h doesn't declare damn thing */
-# endif
-# ifndef alloca /* May be macro, with args, in <alloca.h> */
- extern char *alloca ();
+# include <alloca.h> /* NOTE: Doesn't declare alloca() */
# endif
+ extern PTR alloca PARAMS ((size_t));
# endif
#endif