From Joerg Mayer:

dftest.c:
	     Remove #if-0-ed includes

	packet-ieee80211.c, packet-wtls.c, packet-afp.c, packet-wsp.c,
        packet-wtp.c, ethereal_gen.py:
	     Remove redundant include varargs (already in snprintf.h,
	     and required only for snprintf.h)

	Remove unused include of snprintf.h from files not using
	"snprintf()".

svn path=/trunk/; revision=5889
This commit is contained in:
Guy Harris 2002-07-17 00:43:03 +00:00
parent ca6badc579
commit 77fa06b899
66 changed files with 42 additions and 345 deletions

View File

@ -1,6 +1,6 @@
/* dftest.c.c
*
* $Id: dftest.c,v 1.3 2002/01/21 07:36:31 guy Exp $
* $Id: dftest.c,v 1.4 2002/07/17 00:42:39 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -34,32 +34,6 @@
#include <string.h>
#include <errno.h>
#if 0
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
#include <signal.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#endif
#ifdef NEED_STRERROR_H
#include "strerror.h"
#endif

View File

@ -1,5 +1,5 @@
/*
* $Id: ftype-integer.c,v 1.8 2002/02/05 22:50:17 guy Exp $
* $Id: ftype-integer.c,v 1.9 2002/07/17 00:42:54 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -24,11 +24,6 @@
#include "config.h"
#endif
#ifdef NEED_SNPRINTF_H
#include "snprintf.h"
#endif
#include <stdlib.h>
#include <errno.h>
#include "ftypes-int.h"

View File

@ -2,7 +2,7 @@
* Routines for ISO/OSI network and transport protocol packet disassembly
* Main entrance point and common functions
*
* $Id: osi-utils.c,v 1.5 2002/06/28 22:43:49 guy Exp $
* $Id: osi-utils.c,v 1.6 2002/07/17 00:42:51 guy Exp $
* Laurent Deniel <deniel@worldnet.fr>
* Ralf Schneider <Ralf.Schneider@t-online.de>
*
@ -35,10 +35,6 @@
# include <sys/types.h>
#endif
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <stdio.h>
#include <glib.h>

View File

@ -1,7 +1,7 @@
/* packet.c
* Routines for packet disassembly
*
* $Id: packet.c,v 1.73 2002/06/23 10:32:32 guy Exp $
* $Id: packet.c,v 1.74 2002/07/17 00:42:51 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -51,10 +51,6 @@
#include <ctype.h>
#include <time.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif

View File

@ -1,6 +1,6 @@
# -*- python -*-
#
# $Id: ethereal_gen.py,v 1.26 2002/05/06 21:50:28 guy Exp $
# $Id: ethereal_gen.py,v 1.27 2002/07/17 00:42:40 guy Exp $
#
# ethereal_gen.py (part of idl2eth)
#
@ -2188,11 +2188,6 @@ for (i_@aname@=0; i_@aname@ < @aval@; i_@aname@++) {
#endif
#ifdef NEED_SNPRINTF_H
# ifdef HAVE_STDARG_H
# include <stdarg.h>
# else
# include <varargs.h>
# endif
# include "snprintf.h"
#endif

View File

@ -1,7 +1,7 @@
/* capture_dlg.c
* Routines for packet capture windows
*
* $Id: capture_dlg.c,v 1.69 2002/06/24 20:56:15 guy Exp $
* $Id: capture_dlg.c,v 1.70 2002/07/17 00:42:56 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -41,10 +41,6 @@
#include <pcap.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include "capture.h"
#include "globals.h"
#include <epan/resolv.h>

View File

@ -1,7 +1,7 @@
/* display_opts.c
* Routines for packet display windows
*
* $Id: display_opts.c,v 1.26 2002/03/05 11:55:58 guy Exp $
* $Id: display_opts.c,v 1.27 2002/07/17 00:42:56 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -46,10 +46,6 @@
# include <sys/sockio.h>
#endif
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include "globals.h"
#include <epan/resolv.h>
#include <epan/timestamp.h>

View File

@ -1,7 +1,7 @@
/* proto_draw.c
* Routines for GTK+ packet display
*
* $Id: proto_draw.c,v 1.54 2002/06/24 00:08:28 guy Exp $
* $Id: proto_draw.c,v 1.55 2002/07/17 00:42:56 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -39,10 +39,6 @@
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <stdio.h>
#include <string.h>

View File

@ -2,7 +2,7 @@
* Routines for afp packet dissection
* Copyright 2002, Didier Gautheron <dgautheron@magic.fr>
*
* $Id: packet-afp.c,v 1.17 2002/06/20 00:44:33 guy Exp $
* $Id: packet-afp.c,v 1.18 2002/07/17 00:42:40 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -41,11 +41,6 @@
#endif
#ifdef NEED_SNPRINTF_H
# ifdef HAVE_STDARG_H
# include <stdarg.h>
# else
# include <varargs.h>
# endif
# include "snprintf.h"
#endif

View File

@ -2,7 +2,7 @@
* Routines for AIM Instant Messenger (OSCAR) dissection
* Copyright 2000, Ralf Hoelzer <ralf@well.com>
*
* $Id: packet-aim.c,v 1.14 2002/01/24 09:20:47 guy Exp $
* $Id: packet-aim.c,v 1.15 2002/07/17 00:42:40 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -42,10 +42,6 @@
#include <glib.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
#include <epan/strutil.h>

View File

@ -2,7 +2,7 @@
* Routines for AJP13 dissection
* Copyright 2002, Christopher K. St. John <cks@distributopia.com>
*
* $Id: packet-ajp13.c,v 1.5 2002/06/29 00:05:05 guy Exp $
* $Id: packet-ajp13.c,v 1.6 2002/07/17 00:42:40 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -41,10 +41,6 @@
#include <glib.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
#include <epan/conversation.h>
#include "packet-tcp.h"

View File

@ -2,7 +2,7 @@
* Routines for BACnet (APDU) dissection
* Copyright 2001, Hartmut Mueller <hartmut@abmlinux.org>, FH Dortmund
*
* $Id: packet-bacapp.c,v 1.10 2002/01/24 09:20:47 guy Exp $
* $Id: packet-bacapp.c,v 1.11 2002/07/17 00:42:40 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -43,10 +43,6 @@
#include <glib.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
static const char*

View File

@ -2,7 +2,7 @@
* Routines for BACnet (NPDU) dissection
* Copyright 2001, Hartmut Mueller <hartmut@abmlinux.org>, FH Dortmund
*
* $Id: packet-bacnet.c,v 1.11 2002/05/30 02:04:43 guy Exp $
* $Id: packet-bacnet.c,v 1.12 2002/07/17 00:42:40 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -43,10 +43,6 @@
#include <glib.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
static dissector_handle_t bacapp_handle;

View File

@ -2,7 +2,7 @@
* Routines for BACnet/IP (BVLL, BVLC) dissection
* Copyright 2001, Hartmut Mueller <hartmut@abmlinux.org>, FH Dortmund
*
* $Id: packet-bvlc.c,v 1.10 2002/06/05 00:03:06 gerald Exp $
* $Id: packet-bvlc.c,v 1.11 2002/07/17 00:42:40 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -45,10 +45,6 @@
#include <glib.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
static int proto_bvlc = -1;

View File

@ -5,7 +5,7 @@
* Based on the code from packet-gvrp.c (GVRP) from
* Kevin Shi <techishi@ms22.hinet.net> Copyright 2000
*
* $Id: packet-gmrp.c,v 1.7 2002/06/28 23:59:47 guy Exp $
* $Id: packet-gmrp.c,v 1.8 2002/07/17 00:42:40 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -44,10 +44,6 @@
#include <glib.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
#include "llcsaps.h"

View File

@ -2,7 +2,7 @@
* Routines for gnutella dissection
* Copyright 2001, B. Johannessen <bob@havoq.com>
*
* $Id: packet-gnutella.c,v 1.12 2002/01/24 09:20:48 guy Exp $
* $Id: packet-gnutella.c,v 1.13 2002/07/17 00:42:40 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -41,10 +41,6 @@
#include <glib.h>
#ifdef NEED_SNPRINTF_H
#include "snprintf.h"
#endif
#include <epan/packet.h>
#include "packet-gnutella.h"

View File

@ -4,7 +4,7 @@
* Copyright 2001, Michal Melerowicz <michal.melerowicz@nokia.com>
* Nicolas Balkota <balkota@mac.com>
*
* $Id: packet-gtp.c,v 1.30 2002/05/29 07:35:54 guy Exp $
* $Id: packet-gtp.c,v 1.31 2002/07/17 00:42:40 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -43,10 +43,6 @@
#include <glib.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
#include "packet-ipv6.h"
#include "ppptypes.h"

View File

@ -2,7 +2,7 @@
* Routines for GVRP (GARP VLAN Registration Protocol) dissection
* Copyright 2000, Kevin Shi <techishi@ms22.hinet.net>
*
* $Id: packet-gvrp.c,v 1.11 2002/05/30 05:26:05 guy Exp $
* $Id: packet-gvrp.c,v 1.12 2002/07/17 00:42:40 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -41,10 +41,6 @@
#include <glib.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
#include "llcsaps.h"

View File

@ -2,7 +2,7 @@
* Routines for IAPP dissection
* Copyright 2002, Alfred Arnold <aarnold@elsa.de>
*
* $Id: packet-iapp.c,v 1.3 2002/05/10 23:20:38 guy Exp $
* $Id: packet-iapp.c,v 1.4 2002/07/17 00:42:40 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -47,10 +47,6 @@
#include <glib.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
#include "oui.h"

View File

@ -1,7 +1,7 @@
/* packet-icq.c
* Routines for ICQ packet disassembly
*
* $Id: packet-icq.c,v 1.44 2002/06/04 07:03:44 guy Exp $
* $Id: packet-icq.c,v 1.45 2002/07/17 00:42:40 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -57,10 +57,6 @@
#include <string.h>
#include <glib.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
#include <epan/resolv.h>

View File

@ -3,7 +3,7 @@
* Copyright 2000, Axis Communications AB
* Inquiries/bugreports should be sent to Johan.Jorgensen@axis.com
*
* $Id: packet-ieee80211.c,v 1.70 2002/06/22 23:11:36 guy Exp $
* $Id: packet-ieee80211.c,v 1.71 2002/07/17 00:42:40 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -50,11 +50,6 @@
#endif
#ifdef NEED_SNPRINTF_H
# ifdef HAVE_STDARG_H
# include <stdarg.h>
# else
# include <varargs.h>
# endif
# include "snprintf.h"
#endif

View File

@ -2,7 +2,7 @@
* Routines for iSCSI dissection
* Copyright 2001, Eurologic and Mark Burton <markb@ordern.com>
*
* $Id: packet-iscsi.c,v 1.34 2002/06/24 07:57:50 guy Exp $
* $Id: packet-iscsi.c,v 1.35 2002/07/17 00:42:41 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -41,10 +41,6 @@
#include <glib.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
#include "prefs.h"
#include <epan/conversation.h>

View File

@ -2,7 +2,7 @@
* Routines for ISUP dissection
* Copyright 2001, Martina Obermeier <martina.obermeier@icn.siemens.de>
*
* $Id: packet-isup.c,v 1.12 2002/05/02 09:52:20 guy Exp $
* $Id: packet-isup.c,v 1.13 2002/07/17 00:42:41 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -43,10 +43,6 @@
#include <glib.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
#include "packet-ip.h"

View File

@ -3,7 +3,7 @@
*
* (c) Copyright Ashok Narayanan <ashokn@cisco.com>
*
* $Id: packet-lmp.c,v 1.9 2002/06/16 17:08:43 gerald Exp $
* $Id: packet-lmp.c,v 1.10 2002/07/17 00:42:41 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -55,10 +55,6 @@
#include <glib.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/tvbuff.h>
#include <epan/packet.h>
#include <prefs.h>

View File

@ -9,7 +9,7 @@
*
* Copyright 2000, 2001, 2002, Michael Tuexen <Michael.Tuexen@icn.siemens.de>
*
* $Id: packet-m3ua.c,v 1.18 2002/05/01 00:09:16 guy Exp $
* $Id: packet-m3ua.c,v 1.19 2002/07/17 00:42:41 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -51,10 +51,6 @@
#include <string.h>
#include <glib.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
#include "prefs.h"

View File

@ -10,7 +10,7 @@
*
* for information on Modbus/TCP.
*
* $Id: packet-mbtcp.c,v 1.8 2002/01/21 07:36:37 guy Exp $
* $Id: packet-mbtcp.c,v 1.9 2002/07/17 00:42:41 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -56,10 +56,6 @@
#include <glib.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
#define DEBUG

View File

@ -2,7 +2,7 @@
* Routines for Mobile IP dissection
* Copyright 2000, Stefan Raab <sraab@cisco.com>
*
* $Id: packet-mip.c,v 1.30 2002/05/01 08:17:09 guy Exp $
* $Id: packet-mip.c,v 1.31 2002/07/17 00:42:41 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -42,10 +42,6 @@
#include <glib.h>
#include <time.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
/* Initialize the protocol and registered fields */

View File

@ -2,7 +2,7 @@
* Routines for MMS Message Encapsulation dissection
* Copyright 2001, Tom Uijldert <tom.uijldert@cmg.nl>
*
* $Id: packet-mmse.c,v 1.12 2002/06/07 22:50:49 guy Exp $
* $Id: packet-mmse.c,v 1.13 2002/07/17 00:42:42 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -45,10 +45,6 @@
#include <glib.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
#include "packet-wap.h"
#include "packet-wsp.h"

View File

@ -2,7 +2,7 @@
* Routines for Microsoft Proxy packet dissection
* Copyright 2000, Jeffrey C. Foster <jfoste@woodward.com>
*
* $Id: packet-msproxy.c,v 1.29 2002/05/01 08:14:32 guy Exp $
* $Id: packet-msproxy.c,v 1.30 2002/07/17 00:42:42 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -57,10 +57,6 @@
#include <string.h>
#include <glib.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
#include <epan/resolv.h>
#include "alignment.h"

View File

@ -3,7 +3,7 @@
* Based on 3GPP TS 25.413 V3.4.0
* Copyright 2001, Martin Held <Martin.Held@icn.siemens.de>
*
* $Id: packet-ranap.c,v 1.12 2002/04/14 23:22:21 guy Exp $
* $Id: packet-ranap.c,v 1.13 2002/07/17 00:42:42 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -45,10 +45,6 @@
#include <string.h>
#include <glib.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>

View File

@ -2,7 +2,7 @@
* Routines for java rmiregistry dissection
* Copyright 2002, Michael Stiller <ms@2scale.net>
*
* $Id: packet-rmi.c,v 1.1 2002/05/29 18:52:26 guy Exp $
* $Id: packet-rmi.c,v 1.2 2002/07/17 00:42:42 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -41,10 +41,6 @@
#include <glib.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
#include <epan/strutil.h>

View File

@ -2,7 +2,7 @@
* Routines for Short Message Peer to Peer dissection
* Copyright 2001, Tom Uijldert <tom.uijldert@cmg.nl>
*
* $Id: packet-smpp.c,v 1.6 2002/03/10 03:08:31 guy Exp $
* $Id: packet-smpp.c,v 1.7 2002/07/17 00:42:42 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -47,10 +47,6 @@
#include <glib.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
/* #include "packet-smpp.h" */ /* We autoregister */

View File

@ -2,7 +2,7 @@
* Routines for socks versions 4 &5 packet dissection
* Copyright 2000, Jeffrey C. Foster <jfoste@woodward.com>
*
* $Id: packet-socks.c,v 1.40 2002/06/07 11:37:05 guy Exp $
* $Id: packet-socks.c,v 1.41 2002/07/17 00:42:42 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -67,10 +67,6 @@
#include <string.h>
#include <glib.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
#include <epan/resolv.h>
#include "alignment.h"

View File

@ -6,7 +6,7 @@
* In particular I have not had an opportunity to see how it
* responds to SRVLOC over TCP.
*
* $Id: packet-srvloc.c,v 1.30 2002/05/30 08:34:18 guy Exp $
* $Id: packet-srvloc.c,v 1.31 2002/07/17 00:42:42 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -48,10 +48,6 @@
#include <time.h>
#include <glib.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
#include <epan/strutil.h>

View File

@ -2,7 +2,7 @@
* Routines for ssl dissection
* Copyright (c) 2000-2001, Scott Renfro <scott@renfro.org>
*
* $Id: packet-ssl.c,v 1.22 2002/04/11 09:43:22 guy Exp $
* $Id: packet-ssl.c,v 1.23 2002/07/17 00:42:42 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -62,10 +62,6 @@
#include <glib.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/conversation.h>
#include "prefs.h"

View File

@ -6,7 +6,7 @@
*
* Copyright 2000, Michael Tüxen <Michael.Tuexen@icn.siemens.de>
*
* $Id: packet-sua.c,v 1.7 2002/05/30 08:34:19 guy Exp $
* $Id: packet-sua.c,v 1.8 2002/07/17 00:42:42 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -48,10 +48,6 @@
#include <string.h>
#include <glib.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
#include "prefs.h"

View File

@ -1,7 +1,7 @@
/* packet-tcp.c
* Routines for TCP packet disassembly
*
* $Id: packet-tcp.c,v 1.145 2002/07/02 08:18:45 guy Exp $
* $Id: packet-tcp.c,v 1.146 2002/07/17 00:42:42 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -39,10 +39,6 @@
#include <glib.h>
#include "in_cksum.h"
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/resolv.h>
#include "ipproto.h"
#include "follow.h"

View File

@ -2,7 +2,7 @@
* Routines for Universal Computer Protocol dissection
* Copyright 2001, Tom Uijldert <tom.uijldert@cmg.nl>
*
* $Id: packet-ucp.c,v 1.16 2002/06/20 20:17:40 guy Exp $
* $Id: packet-ucp.c,v 1.17 2002/07/17 00:42:42 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -50,10 +50,6 @@
#include <glib.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
/* #include "packet-ucp.h" */ /* We autoregister */

View File

@ -2,7 +2,7 @@
*
* Routines to dissect WSP component of WAP traffic.
*
* $Id: packet-wsp.c,v 1.57 2002/06/15 23:23:31 guy Exp $
* $Id: packet-wsp.c,v 1.58 2002/07/17 00:42:42 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -44,11 +44,6 @@
#endif
#ifdef NEED_SNPRINTF_H
# ifdef HAVE_STDARG_H
# include <stdarg.h>
# else
# include <varargs.h>
# endif
# include "snprintf.h"
#endif

View File

@ -2,7 +2,7 @@
*
* Routines to dissect WTLS component of WAP traffic.
*
* $Id: packet-wtls.c,v 1.19 2002/06/15 23:27:15 guy Exp $
* $Id: packet-wtls.c,v 1.20 2002/07/17 00:42:43 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -43,11 +43,6 @@
#endif
#ifdef NEED_SNPRINTF_H
# ifdef HAVE_STDARG_H
# include <stdarg.h>
# else
# include <varargs.h>
# endif
# include "snprintf.h"
#endif

View File

@ -2,7 +2,7 @@
*
* Routines to dissect WTP component of WAP traffic.
*
* $Id: packet-wtp.c,v 1.35 2002/06/07 10:11:41 guy Exp $
* $Id: packet-wtp.c,v 1.36 2002/07/17 00:42:43 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -43,11 +43,6 @@
#endif
#ifdef NEED_SNPRINTF_H
# ifdef HAVE_STDARG_H
# include <stdarg.h>
# else
# include <varargs.h>
# endif
# include "snprintf.h"
#endif

View File

@ -43,10 +43,6 @@
#include <gmodule.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
/* BPKM Attributes defined in:

View File

@ -43,10 +43,6 @@
#include <gmodule.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
/* Initialize the protocol and registered fields */

View File

@ -43,10 +43,6 @@
#include <gmodule.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
/* Initialize the protocol and registered fields */

View File

@ -2,7 +2,7 @@
* Routines for docsis dissection
* Copyright 2002, Anand V. Narwani <anarwani@cisco.com>
*
* $Id: packet-docsis.c,v 1.1 2002/07/12 22:52:41 guy Exp $
* $Id: packet-docsis.c,v 1.2 2002/07/17 00:42:58 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -60,10 +60,6 @@
#include <gmodule.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>

View File

@ -43,10 +43,6 @@
#include <gmodule.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
/* Initialize the protocol and registered fields */

View File

@ -43,10 +43,6 @@
#include <gmodule.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
/* Initialize the protocol and registered fields */

View File

@ -43,10 +43,6 @@
#include <gmodule.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
/* Initialize the protocol and registered fields */

View File

@ -43,10 +43,6 @@
#include <gmodule.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
/* Initialize the protocol and registered fields */

View File

@ -43,10 +43,6 @@
#include <gmodule.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
/* Initialize the protocol and registered fields */

View File

@ -43,10 +43,6 @@
#include <gmodule.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
/* Initialize the protocol and registered fields */

View File

@ -43,10 +43,6 @@
#include <gmodule.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
/* Initialize the protocol and registered fields */

View File

@ -43,10 +43,6 @@
#include <gmodule.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
/* Initialize the protocol and registered fields */

View File

@ -44,10 +44,6 @@
#include <glib.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
#define MGT_SYNC 1

View File

@ -44,10 +44,6 @@
#include <gmodule.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
#define IUC_REQUEST 1

View File

@ -43,10 +43,6 @@
#include <gmodule.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
/* Initialize the protocol and registered fields */

View File

@ -43,10 +43,6 @@
#include <gmodule.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
/* Initialize the protocol and registered fields */

View File

@ -43,10 +43,6 @@
#include <gmodule.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
/* Initialize the protocol and registered fields */

View File

@ -44,10 +44,6 @@
#include <gmodule.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>

View File

@ -43,10 +43,6 @@
#include <gmodule.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
#define RNGRSP_TIMING 1

View File

@ -44,10 +44,6 @@
#include <gmodule.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
#include "packet-tlv.h"

View File

@ -43,10 +43,6 @@
#include <gmodule.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
/* Initialize the protocol and registered fields */

View File

@ -43,10 +43,6 @@
#include <gmodule.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
/* Initialize the protocol and registered fields */

View File

@ -45,10 +45,6 @@
#include <gmodule.h>
#ifdef NEED_SNPRINTF_H
# include "snprintf.h"
#endif
#include <epan/packet.h>
#define UCD_SYMBOL_RATE 1

View File

@ -49,15 +49,6 @@
# include <netinet/in.h>
#endif
#ifdef NEED_SNPRINTF_H
# ifdef HAVE_STDARG_H
# include <stdarg.h>
# else
# include <varargs.h>
# endif
# include "snprintf.h"
#endif
#include <string.h>
#include <glib.h>
#include <epan/packet.h>

View File

@ -49,15 +49,6 @@
# include <netinet/in.h>
#endif
#ifdef NEED_SNPRINTF_H
# ifdef HAVE_STDARG_H
# include <stdarg.h>
# else
# include <varargs.h>
# endif
# include "snprintf.h"
#endif
#include <string.h>
#include <glib.h>
#include <epan/packet.h>