summaryrefslogtreecommitdiff
path: root/addrtoname.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-10-15 22:36:07 -0700
committerGuy Harris <guy@alum.mit.edu>2017-10-15 22:36:07 -0700
commitfdd0467bcd46ea0d472111adedd21f43d6d4d15e (patch)
tree93089bc833fbb7784d51cd44ef5d762b35b10a7b /addrtoname.c
parent88d1467627bbe0fbe2e52098aa099ef0319ac713 (diff)
downloadtcpdump-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 'addrtoname.c')
-rw-r--r--addrtoname.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/addrtoname.c b/addrtoname.c
index fe6338d5..01e33093 100644
--- a/addrtoname.c
+++ b/addrtoname.c
@@ -67,7 +67,6 @@ extern int ether_ntohost(char *, const struct ether_addr *);
#include "addrtostr.h"
#include "ethertype.h"
#include "llc.h"
-#include "setsignal.h"
#include "extract.h"
#include "oui.h"