From 3824a6c0417a551961d1a1bf4f94f10eff736afc Mon Sep 17 00:00:00 2001 From: guy Date: Sat, 15 Nov 2003 00:39:12 +0000 Subject: 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". --- parsenfsfh.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'parsenfsfh.c') diff --git a/parsenfsfh.c b/parsenfsfh.c index 5ca11eff..7f2e4471 100644 --- a/parsenfsfh.c +++ b/parsenfsfh.c @@ -40,10 +40,6 @@ * Western Research Laboratory */ -#ifndef lint -static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/parsenfsfh.c,v 1.25 2002-08-01 08:52:58 risso Exp $ (LBL)"; -#endif #ifdef HAVE_CONFIG_H #include "config.h" @@ -57,6 +53,10 @@ static const char rcsid[] = #include "interface.h" #include "nfsfh.h" +#ifndef lint +static const char rcsid[] _U_ = + "@(#) $Header: /tcpdump/master/tcpdump/parsenfsfh.c,v 1.26 2003-11-15 00:39:13 guy Exp $ (LBL)"; +#endif /* * This routine attempts to parse a file handle (in network byte order), * using heuristics to guess what kind of format it is in. See the -- cgit v1.2.1