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 /print-sctp.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 'print-sctp.c')
-rw-r--r-- | print-sctp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/print-sctp.c b/print-sctp.c index 937f5e5c..37a9cc5a 100644 --- a/print-sctp.c +++ b/print-sctp.c @@ -33,10 +33,6 @@ * SUCH DAMAGE. */ -#ifndef lint -static const char rcsid[] = -"@(#) $Header: /tcpdump/master/tcpdump/print-sctp.c,v 1.13 2003-08-06 05:02:13 guy Exp $ (NETLAB/PEL)"; -#endif #ifdef HAVE_CONFIG_H #include "config.h" @@ -56,6 +52,10 @@ static const char rcsid[] = #include "extract.h" /* must come after interface.h */ #include "ip.h" #ifdef INET6 +#ifndef lint +static const char rcsid[] _U_ = +"@(#) $Header: /tcpdump/master/tcpdump/print-sctp.c,v 1.14 2003-11-15 00:39:39 guy Exp $ (NETLAB/PEL)"; +#endif #include "ip6.h" #endif |