diff --git a/configure.in b/configure.in index 483d7d67..a1cf6508 100644 --- a/configure.in +++ b/configure.in @@ -42,19 +42,12 @@ AC_CHECK_HEADERS(asm/ptrace_offsets.h endian.h sys/endian.h execinfo.h \ dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_C_INLINE -AC_TYPE_SIGNAL AC_TYPE_SIZE_T AC_CHECK_SIZEOF(off_t) CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE" AC_CHECK_MEMBERS([struct dl_phdr_info.dlpi_subs],,,[#include ]) -AC_CHECK_TYPES([sighandler_t], [], [], -[$ac_includes_default -#if HAVE_SIGNAL_H -# include -#endif -]) AC_CHECK_TYPES([struct elf_prstatus, struct prstatus], [], [], [$ac_includes_default #if HAVE_SYS_PROCFS_H @@ -76,7 +69,6 @@ PT_STEP, PT_SYSCALL], [], [], dnl Checks for library functions. AC_FUNC_MEMCMP -AC_TYPE_SIGNAL AC_CHECK_FUNCS(dl_iterate_phdr dl_phdr_removals_counter dlmodinfo getunwind \ ttrace mincore) is_gcc_m64() { diff --git a/tests/Gtest-bt.c b/tests/Gtest-bt.c index 1a40496e..fb5b3966 100644 --- a/tests/Gtest-bt.c +++ b/tests/Gtest-bt.c @@ -41,10 +41,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #define panic(args...) \ { fprintf (stderr, args); exit (-1); } -#ifndef HAVE_SIGHANDLER_T -typedef RETSIGTYPE (*sighandler_t) (int); -#endif - #define SIG_STACK_SIZE 0x100000 int verbose; diff --git a/tests/Gtest-trace.c b/tests/Gtest-trace.c index b4c0bfcd..a064b766 100644 --- a/tests/Gtest-trace.c +++ b/tests/Gtest-trace.c @@ -40,10 +40,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #define panic(args...) \ { fprintf (stderr, args); exit (-1); } -#ifndef HAVE_SIGHANDLER_T -typedef RETSIGTYPE (*sighandler_t) (int); -#endif - #define SIG_STACK_SIZE 0x100000 int verbose;