summaryrefslogtreecommitdiff
path: root/print-ipx.c
diff options
context:
space:
mode:
authorguy <guy>2003-11-15 00:39:12 +0000
committerguy <guy>2003-11-15 00:39:12 +0000
commit3824a6c0417a551961d1a1bf4f94f10eff736afc (patch)
tree2b211ef3e3696745aad7db0423cbf80ccf37ca38 /print-ipx.c
parent0a27c291d0f9324cfd36b6073fcddff248d0482f (diff)
downloadtcpdump-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-ipx.c')
-rw-r--r--print-ipx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/print-ipx.c b/print-ipx.c
index 0f35a853..18a91b14 100644
--- a/print-ipx.c
+++ b/print-ipx.c
@@ -22,10 +22,6 @@
* Contributed by Brad Parker (brad@fcr.com).
*/
-#ifndef lint
-static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-ipx.c,v 1.34 2002-08-01 08:53:11 risso Exp $";
-#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -42,6 +38,10 @@ static const char rcsid[] =
#include "ipx.h"
#include "extract.h"
+#ifndef lint
+static const char rcsid[] _U_ =
+ "@(#) $Header: /tcpdump/master/tcpdump/print-ipx.c,v 1.35 2003-11-15 00:39:28 guy Exp $";
+#endif
static const char *ipxaddr_string(u_int32_t, const u_char *);
void ipx_decode(const struct ipxHdr *, const u_char *, u_int);