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". --- machdep.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'machdep.c') diff --git a/machdep.c b/machdep.c index fdfcac59..d181945d 100644 --- a/machdep.c +++ b/machdep.c @@ -19,10 +19,6 @@ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/machdep.c,v 1.10 2002-09-05 21:25:36 guy Exp $ (LBL)"; -#endif #ifdef HAVE_CONFIG_H #include "config.h" @@ -36,6 +32,14 @@ static const char rcsid[] = */ #include + +#include "interface.h" + +#ifndef lint +static const char rcsid[] _U_ = + "@(#) $Header: /tcpdump/master/tcpdump/machdep.c,v 1.11 2003-11-15 00:39:13 guy Exp $ (LBL)"; +#endif + #ifndef HAVE___ATTRIBUTE__ #define __attribute__(x) #endif /* HAVE___ATTRIBUTE__ */ -- cgit v1.2.1