diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-10-15 22:36:07 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-10-15 22:36:07 -0700 |
commit | fdd0467bcd46ea0d472111adedd21f43d6d4d15e (patch) | |
tree | 93089bc833fbb7784d51cd44ef5d762b35b10a7b /config.h.in | |
parent | 88d1467627bbe0fbe2e52098aa099ef0319ac713 (diff) | |
download | tcpdump-fdd0467bcd46ea0d472111adedd21f43d6d4d15e.tar.gz |
On UN*X, always use sigaction(), and always have signal handlers return void.
Some time between the mid 1980's and 1990 called; they want their
old-fashioned UNIX signal handling back. ANSI C has had signal handlers
returning void sincer, well, 1989, and POSIX has had sigaction() since
close to forever. No need to worry about really old UN*Xes here.
On Windows, it's also void (as per ANSI C); use signal().
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/config.h.in b/config.h.in index 558ab41f..487364dc 100644 --- a/config.h.in +++ b/config.h.in @@ -187,12 +187,6 @@ /* Define to 1 if you have the `setlinebuf' function. */ #undef HAVE_SETLINEBUF -/* Define to 1 if you have the `sigaction' function. */ -#undef HAVE_SIGACTION - -/* Define to 1 if you have the `sigset' function. */ -#undef HAVE_SIGSET - /* Define to 1 if you have the `snprintf' function. */ #undef HAVE_SNPRINTF @@ -280,12 +274,6 @@ /* Define to the version of this package. */ #undef PACKAGE_VERSION -/* Define as the return type of signal handlers (`int' or `void'). */ -#undef RETSIGTYPE - -/* return value of signal handlers */ -#undef RETSIGVAL - /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS @@ -304,9 +292,6 @@ /* define if should drop privileges by default */ #undef WITH_USER -/* get BSD semantics on Irix */ -#undef _BSD_SIGNALS - /* define on AIX to get certain functions */ #undef _SUN |