fix signal prototypes
This commit is contained in:
parent
c30028310b
commit
5444f878d0
|
|
@ -1,3 +1,11 @@
|
|||
2010-07-04 Robert Larice
|
||||
* src/include/defines.h :
|
||||
for non MSC: use sighandler_t from <signal.h>
|
||||
FIXME, should work for MSC as well, please check
|
||||
|
||||
* src/include/fteext.h :
|
||||
ansi function declarations (prototypes) for some signal functions
|
||||
|
||||
2010-07-03 Robert Larice
|
||||
* src/frontend/evaluate.c ,
|
||||
* src/include/fteparse.h :
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@
|
|||
#if defined(_MSC_VER)
|
||||
# define SIGNAL_FUNCTION RETSIGTYPE (*)(int)
|
||||
#else
|
||||
# define SIGNAL_FUNCTION RETSIGTYPE (*)( )
|
||||
# define SIGNAL_FUNCTION sighandler_t
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -412,10 +412,10 @@ extern char *cp_program;
|
|||
extern RETSIGTYPE ft_sigintr(void);
|
||||
extern RETSIGTYPE sigfloat(int sig, int code);
|
||||
extern RETSIGTYPE sigstop(void);
|
||||
extern RETSIGTYPE sigill();
|
||||
extern RETSIGTYPE sigbus();
|
||||
extern RETSIGTYPE sigsegv();
|
||||
extern RETSIGTYPE sig_sys();
|
||||
extern RETSIGTYPE sigill(void);
|
||||
extern RETSIGTYPE sigbus(void);
|
||||
extern RETSIGTYPE sigsegv(void);
|
||||
extern RETSIGTYPE sig_sys(void);
|
||||
extern int main(int argc, char **argv);
|
||||
|
||||
/* spiceif.c & nutmegif.c */
|
||||
|
|
|
|||
Loading…
Reference in New Issue