* 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.
This commit is contained in:
parent
36fcc06101
commit
22fd4704bc
|
@ -1,3 +1,11 @@
|
|||
Sun Jun 28 13:30:22 1992 Fred Fish (fnf@cygnus.com)
|
||||
|
||||
* 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.
|
||||
|
||||
Sat Jun 27 12:12:20 1992 Fred Fish (fnf@cygnus.com)
|
||||
|
||||
* sparc-pinsn.c: Use <string.h> rather than "string.h", for
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue