Use sys_siglist[].
This commit is contained in:
parent
cd74991687
commit
7aaa2d09b7
|
@ -164,7 +164,7 @@
|
|||
#define has_sigaction 1 /* Does struct sigaction work? */
|
||||
/* #define has_sigblock ? */ /* Does sigblock() work? */
|
||||
/* #define sigmask(s) (1 << ((s)-1)) */ /* Yield mask for signal number. */
|
||||
#define has_sys_siglist 0 /* Does sys_siglist[] work? */
|
||||
#define has_sys_siglist 1 /* Does sys_siglist[] work? */
|
||||
typedef ssize_t fread_type; /* type returned by fread() and fwrite() */
|
||||
typedef size_t freadarg_type; /* type of their size arguments */
|
||||
typedef void *malloc_type; /* type returned by malloc() */
|
||||
|
|
|
@ -30,7 +30,7 @@ Report problems and direct all questions to:
|
|||
|
||||
#include "rcsbase.h"
|
||||
|
||||
libId(utilId, "$Id: rcsutil.c,v 1.2 1993/08/02 17:47:31 mycroft Exp $")
|
||||
libId(utilId, "$Id: rcsutil.c,v 1.3 1993/08/06 21:55:56 mycroft Exp $")
|
||||
|
||||
#if !has_memcmp
|
||||
int
|
||||
|
@ -260,7 +260,7 @@ catchsig(s)
|
|||
#if has_sys_siglist && defined(NSIG)
|
||||
if ((unsigned)s < NSIG) {
|
||||
# ifndef sys_siglist
|
||||
extern char const *sys_siglist[];
|
||||
extern char *sys_siglist[];
|
||||
# endif
|
||||
sname = sys_siglist[s];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue