From fdd0467bcd46ea0d472111adedd21f43d6d4d15e Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 15 Oct 2017 22:36:07 -0700 Subject: 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(). --- addrtoname.c | 1 - 1 file changed, 1 deletion(-) (limited to 'addrtoname.c') 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" -- cgit v1.2.1