comparison src/syssignal.h @ 272:c5d627a313b1 r21-0b34

Import from CVS: tag r21-0b34
author cvs
date Mon, 13 Aug 2007 10:28:48 +0200
parents 2c611d1463a6
children 558f606b08ae
comparison
equal deleted inserted replaced
271:c7b7086b0a39 272:c5d627a313b1
94 94
95 #if defined (HAVE_SIGPROCMASK) 95 #if defined (HAVE_SIGPROCMASK)
96 96
97 /* The POSIX way (sigaction, sigprocmask, sigpending, sigsuspend) */ 97 /* The POSIX way (sigaction, sigprocmask, sigpending, sigsuspend) */
98 98
99 extern signal_handler_t sys_do_signal (int signal_number, 99 signal_handler_t sys_do_signal (int signal_number, signal_handler_t action);
100 signal_handler_t action);
101 /* Provide our own version of signal(), that calls sigaction(). The 100 /* Provide our own version of signal(), that calls sigaction(). The
102 name is not sys_signal() because a function of that name exists in 101 name is not sys_signal() because a function of that name exists in
103 libenergize.a */ 102 libenergize.a */
104 #undef signal 103 #undef signal
105 #define signal sys_do_signal 104 #define signal sys_do_signal
223 #if !defined (SYS_SIGLIST_DECLARED) && !defined (HAVE_SYS_SIGLIST) 222 #if !defined (SYS_SIGLIST_DECLARED) && !defined (HAVE_SYS_SIGLIST)
224 extern CONST char *sys_siglist[]; 223 extern CONST char *sys_siglist[];
225 #endif 224 #endif
226 225
227 #ifdef SIGDANGER 226 #ifdef SIGDANGER
228 extern SIGTYPE memory_warning_signal (int sig); 227 SIGTYPE memory_warning_signal (int sig);
229 #endif 228 #endif
230 229
231 #ifdef _WIN32 230 #ifdef _WIN32
232 /* Prototypes for signal functions, see nt.c */ 231 /* Prototypes for signal functions, see nt.c */
233 typedef void (__cdecl *msw_sighandler) (int); 232 typedef void (__cdecl *msw_sighandler) (int);