diff options
author | guy <guy> | 2003-11-15 00:39:12 +0000 |
---|---|---|
committer | guy <guy> | 2003-11-15 00:39:12 +0000 |
commit | 3824a6c0417a551961d1a1bf4f94f10eff736afc (patch) | |
tree | 2b211ef3e3696745aad7db0423cbf80ccf37ca38 /setsignal.c | |
parent | 0a27c291d0f9324cfd36b6073fcddff248d0482f (diff) | |
download | tcpdump-3824a6c0417a551961d1a1bf4f94f10eff736afc.tar.gz |
From Neil Spring:
use "_U_" in the definitions of "rcsid[]", to eliminate
complaints about those variables being unused;
move the definitions after the include of "interface.h", or add
an include of "interface.h", so that "_U_" is defined.
Include "config.h" before including "tcpdump-stdinc.h" in
"missing/datalinks.c".
Diffstat (limited to 'setsignal.c')
-rw-r--r-- | setsignal.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/setsignal.c b/setsignal.c index 1eeda639..a8d89325 100644 --- a/setsignal.c +++ b/setsignal.c @@ -19,10 +19,6 @@ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/setsignal.c,v 1.9 2003-11-04 07:29:16 guy Exp $ (LBL)"; -#endif #ifdef HAVE_CONFIG_H #include "config.h" @@ -30,6 +26,14 @@ static const char rcsid[] = #include <tcpdump-stdinc.h> + +#include "interface.h" + +#ifndef lint +static const char rcsid[] _U_ = + "@(#) $Header: /tcpdump/master/tcpdump/setsignal.c,v 1.10 2003-11-15 00:39:45 guy Exp $ (LBL)"; +#endif + #include <signal.h> #ifdef HAVE_SIGACTION #include <string.h> |