version 1.7, 2009/10/10 09:51:29
|
version 1.9, 2009/12/31 15:32:36
|
Line 1
|
Line 1
|
/* a strsignal implementation |
/* a strsignal implementation |
|
|
Copyright (C) 1995,2000,2003,2007 Free Software Foundation, Inc. |
Copyright (C) 1995,2000,2003,2007,2009 Free Software Foundation, Inc. |
|
|
This file is part of Gforth. |
This file is part of Gforth. |
|
|
Line 29 char *strsignal(int sig)
|
Line 29 char *strsignal(int sig)
|
static char errbuf[16]; |
static char errbuf[16]; |
|
|
#if defined(HAVE_SYS_SIGLIST) && defined(NSIG) |
#if defined(HAVE_SYS_SIGLIST) && defined(NSIG) |
#if !defined(HAVE_DECL_SYS_SIGLIST) |
#if !HAVE_DECL_SYS_SIGLIST |
extern const char * const sys_siglist[]; |
extern const char * const sys_siglist[]; |
#endif |
#endif |
if (sig>0 && sig<NSIG) |
if (sig>0 && sig<NSIG) |