Bash is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
-Software Foundation; either version 1, or (at your option) any later
+Software Foundation; either version 2, or (at your option) any later
version.
Bash is distributed in the hope that it will be useful, but WITHOUT ANY
You should have received a copy of the GNU General Public License along
with Bash; see the file COPYING. If not, write to the Free Software
-Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. */
#include "config.h"
-#if !defined (HAVE_SYS_SIGLIST) && !defined (HAVE_STRSIGNAL)
+#if !defined (HAVE_SYS_SIGLIST) && !defined (HAVE_UNDER_SYS_SIGLIST) && !defined (HAVE_STRSIGNAL)
#include <stdio.h>
-#include <sys/types.h>
+#include "bashtypes.h"
#include <signal.h>
#include "siglist.h"
# include "trap.h"
#endif
-char *sys_siglist[NSIG];
+#include "xmalloc.h"
-extern char *xmalloc (), *malloc ();
+char *sys_siglist[NSIG];
void
initialize_siglist ()
sys_siglist[SIGSOUND] = "HFT sound sequence has completed";
#endif
+#if defined (SIGINFO)
+ sys_siglist[SIGINFO] = "Information request";
+#endif
+
for (i = 0; i < NSIG; i++)
{
if (!sys_siglist[i])
}
}
}
-#endif /* !HAVE_SYS_SIGLIST && !HAVE_STRSIGNAL */
+#endif /* !HAVE_SYS_SIGLIST && !HAVE_UNDER_SYS_SIGLIST && !HAVE_STRSIGNAL */