diff --git a/configure.ac b/configure.ac index 8ffc0b7ce..2c7cdeef6 100644 --- a/configure.ac +++ b/configure.ac @@ -471,11 +471,6 @@ if test $gl_cv_sys_tiocgwinsz_needs_termios_h = no && \ [Define if your system defines TIOCGWINSZ in sys/pty.h.]) fi -# For src/kill.c. -AC_CHECK_DECLS([strsignal, sys_siglist, _sys_siglist, __sys_siglist], , , - [AC_INCLUDES_DEFAULT -#include ]) - # Build df only if there's a point to it. if test $gl_cv_list_mounted_fs = yes && test $gl_cv_fs_space = yes; then gl_ADD_PROG([optional_bin_progs], [df]) diff --git a/src/kill.c b/src/kill.c index 47aaa1613..7eb5ef57a 100644 --- a/src/kill.c +++ b/src/kill.c @@ -33,24 +33,6 @@ #define AUTHORS proper_name ("Paul Eggert") -#if ! (HAVE_DECL_STRSIGNAL || defined strsignal) -# if ! (HAVE_DECL_SYS_SIGLIST || defined sys_siglist) -# if HAVE_DECL__SYS_SIGLIST || defined _sys_siglist -# define sys_siglist _sys_siglist -# elif HAVE_DECL___SYS_SIGLIST || defined __sys_siglist -# define sys_siglist __sys_siglist -# endif -# endif -# if HAVE_DECL_SYS_SIGLIST || defined sys_siglist -# define strsignal(signum) (0 <= (signum) && (signum) <= SIGNUM_BOUND \ - ? sys_siglist[signum] \ - : 0) -# endif -# ifndef strsignal -# define strsignal(signum) 0 -# endif -#endif - static char const short_options[] = "0::1::2::3::4::5::6::7::8::9::" "A::B::C::D::E::F::G::H::I::J::K::M::"