diff options
author | Fred Fish <fnf@specifix.com> | 1992-06-28 20:31:11 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1992-06-28 20:31:11 +0000 |
commit | 22fd4704bccdd29ab742445e9a4017e457ef449f (patch) | |
tree | d6cc69b0eede3b990762f5db3d4df44bb15af0a3 /gdb/defs.h | |
parent | 36fcc061019882d2b36ac5cfae90c163400fca00 (diff) | |
download | gdb-22fd4704bccdd29ab742445e9a4017e457ef449f.zip gdb-22fd4704bccdd29ab742445e9a4017e457ef449f.tar.gz gdb-22fd4704bccdd29ab742445e9a4017e457ef449f.tar.bz2 |
* remote.c (remote_wait): Fix cast on signal() call.
* defs.h (alloca): More diddling with alloca. Have to ensure
that it has a prototype, so that if alloca is defined as a macro
that takes an arg, the definition is seen as a use of a macro
that takes an arg, to satisfy picky ANSI preprocessors.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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 |