Ethereal-dev: [Ethereal-dev] Remove doubly included varargs and unused snprintf
Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.
From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Wed, 17 Jul 2002 01:56:59 +0200
see subject/changelog -- Joerg Mayer <jmayer@xxxxxxxxx> I found out that "pro" means "instead of" (as in proconsul). Now I know what proactive means.
Changelog: <jmayer@xxxxxxxxx> - 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) - Rest: Remove unused include of snprintf.h Index: ethereal/dftest.c =================================================================== RCS file: /cvsroot/ethereal/dftest.c,v retrieving revision 1.3 diff -u -r1.3 dftest.c --- dftest.c 2002/01/21 07:36:31 1.3 +++ dftest.c 2002/07/16 23:27:21 @@ -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 Index: ethereal/ethereal_gen.py =================================================================== RCS file: /cvsroot/ethereal/ethereal_gen.py,v retrieving revision 1.26 diff -u -r1.26 ethereal_gen.py --- ethereal_gen.py 2002/05/06 21:50:28 1.26 +++ ethereal_gen.py 2002/07/16 23:27:22 @@ -2188,11 +2188,6 @@ #endif #ifdef NEED_SNPRINTF_H -# ifdef HAVE_STDARG_H -# include <stdarg.h> -# else -# include <varargs.h> -# endif # include "snprintf.h" #endif Index: ethereal/packet-aim.c =================================================================== RCS file: /cvsroot/ethereal/packet-aim.c,v retrieving revision 1.14 diff -u -r1.14 packet-aim.c --- packet-aim.c 2002/01/24 09:20:47 1.14 +++ packet-aim.c 2002/07/16 23:27:23 @@ -42,10 +42,6 @@ #include <glib.h> -#ifdef NEED_SNPRINTF_H -# include "snprintf.h" -#endif - #include <epan/packet.h> #include <epan/strutil.h> Index: ethereal/packet-ajp13.c =================================================================== RCS file: /cvsroot/ethereal/packet-ajp13.c,v retrieving revision 1.5 diff -u -r1.5 packet-ajp13.c --- packet-ajp13.c 2002/06/29 00:05:05 1.5 +++ packet-ajp13.c 2002/07/16 23:27:23 @@ -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" Index: ethereal/packet-bacapp.c =================================================================== RCS file: /cvsroot/ethereal/packet-bacapp.c,v retrieving revision 1.10 diff -u -r1.10 packet-bacapp.c --- packet-bacapp.c 2002/01/24 09:20:47 1.10 +++ packet-bacapp.c 2002/07/16 23:27:23 @@ -43,10 +43,6 @@ #include <glib.h> -#ifdef NEED_SNPRINTF_H -# include "snprintf.h" -#endif - #include <epan/packet.h> static const char* Index: ethereal/packet-bacnet.c =================================================================== RCS file: /cvsroot/ethereal/packet-bacnet.c,v retrieving revision 1.11 diff -u -r1.11 packet-bacnet.c --- packet-bacnet.c 2002/05/30 02:04:43 1.11 +++ packet-bacnet.c 2002/07/16 23:27:23 @@ -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; Index: ethereal/packet-bvlc.c =================================================================== RCS file: /cvsroot/ethereal/packet-bvlc.c,v retrieving revision 1.10 diff -u -r1.10 packet-bvlc.c --- packet-bvlc.c 2002/06/05 00:03:06 1.10 +++ packet-bvlc.c 2002/07/16 23:27:23 @@ -45,10 +45,6 @@ #include <glib.h> -#ifdef NEED_SNPRINTF_H -# include "snprintf.h" -#endif - #include <epan/packet.h> static int proto_bvlc = -1; Index: ethereal/packet-gmrp.c =================================================================== RCS file: /cvsroot/ethereal/packet-gmrp.c,v retrieving revision 1.7 diff -u -r1.7 packet-gmrp.c --- packet-gmrp.c 2002/06/28 23:59:47 1.7 +++ packet-gmrp.c 2002/07/16 23:27:25 @@ -44,10 +44,6 @@ #include <glib.h> -#ifdef NEED_SNPRINTF_H -# include "snprintf.h" -#endif - #include <epan/packet.h> #include "llcsaps.h" Index: ethereal/packet-gnutella.c =================================================================== RCS file: /cvsroot/ethereal/packet-gnutella.c,v retrieving revision 1.12 diff -u -r1.12 packet-gnutella.c --- packet-gnutella.c 2002/01/24 09:20:48 1.12 +++ packet-gnutella.c 2002/07/16 23:27:26 @@ -41,10 +41,6 @@ #include <glib.h> -#ifdef NEED_SNPRINTF_H -#include "snprintf.h" -#endif - #include <epan/packet.h> #include "packet-gnutella.h" Index: ethereal/packet-gtp.c =================================================================== RCS file: /cvsroot/ethereal/packet-gtp.c,v retrieving revision 1.30 diff -u -r1.30 packet-gtp.c --- packet-gtp.c 2002/05/29 07:35:54 1.30 +++ packet-gtp.c 2002/07/16 23:27:28 @@ -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" Index: ethereal/packet-gvrp.c =================================================================== RCS file: /cvsroot/ethereal/packet-gvrp.c,v retrieving revision 1.11 diff -u -r1.11 packet-gvrp.c --- packet-gvrp.c 2002/05/30 05:26:05 1.11 +++ packet-gvrp.c 2002/07/16 23:27:28 @@ -41,10 +41,6 @@ #include <glib.h> -#ifdef NEED_SNPRINTF_H -# include "snprintf.h" -#endif - #include <epan/packet.h> #include "llcsaps.h" Index: ethereal/packet-iapp.c =================================================================== RCS file: /cvsroot/ethereal/packet-iapp.c,v retrieving revision 1.3 diff -u -r1.3 packet-iapp.c --- packet-iapp.c 2002/05/10 23:20:38 1.3 +++ packet-iapp.c 2002/07/16 23:27:28 @@ -47,10 +47,6 @@ #include <glib.h> -#ifdef NEED_SNPRINTF_H -# include "snprintf.h" -#endif - #include <epan/packet.h> #include "oui.h" Index: ethereal/packet-icq.c =================================================================== RCS file: /cvsroot/ethereal/packet-icq.c,v retrieving revision 1.44 diff -u -r1.44 packet-icq.c --- packet-icq.c 2002/06/04 07:03:44 1.44 +++ packet-icq.c 2002/07/16 23:27:29 @@ -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> Index: ethereal/packet-iscsi.c =================================================================== RCS file: /cvsroot/ethereal/packet-iscsi.c,v retrieving revision 1.34 diff -u -r1.34 packet-iscsi.c --- packet-iscsi.c 2002/06/24 07:57:50 1.34 +++ packet-iscsi.c 2002/07/16 23:27:30 @@ -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> Index: ethereal/packet-isup.c =================================================================== RCS file: /cvsroot/ethereal/packet-isup.c,v retrieving revision 1.12 diff -u -r1.12 packet-isup.c --- packet-isup.c 2002/05/02 09:52:20 1.12 +++ packet-isup.c 2002/07/16 23:27:32 @@ -43,10 +43,6 @@ #include <glib.h> -#ifdef NEED_SNPRINTF_H -# include "snprintf.h" -#endif - #include <epan/packet.h> #include "packet-ip.h" Index: ethereal/packet-lmp.c =================================================================== RCS file: /cvsroot/ethereal/packet-lmp.c,v retrieving revision 1.9 diff -u -r1.9 packet-lmp.c --- packet-lmp.c 2002/06/16 17:08:43 1.9 +++ packet-lmp.c 2002/07/16 23:27:32 @@ -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> Index: ethereal/packet-m3ua.c =================================================================== RCS file: /cvsroot/ethereal/packet-m3ua.c,v retrieving revision 1.18 diff -u -r1.18 packet-m3ua.c --- packet-m3ua.c 2002/05/01 00:09:16 1.18 +++ packet-m3ua.c 2002/07/16 23:27:33 @@ -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" Index: ethereal/packet-mbtcp.c =================================================================== RCS file: /cvsroot/ethereal/packet-mbtcp.c,v retrieving revision 1.8 diff -u -r1.8 packet-mbtcp.c --- packet-mbtcp.c 2002/01/21 07:36:37 1.8 +++ packet-mbtcp.c 2002/07/16 23:27:33 @@ -56,10 +56,6 @@ #include <glib.h> -#ifdef NEED_SNPRINTF_H -# include "snprintf.h" -#endif - #include <epan/packet.h> #define DEBUG Index: ethereal/packet-mip.c =================================================================== RCS file: /cvsroot/ethereal/packet-mip.c,v retrieving revision 1.30 diff -u -r1.30 packet-mip.c --- packet-mip.c 2002/05/01 08:17:09 1.30 +++ packet-mip.c 2002/07/16 23:27:33 @@ -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 */ Index: ethereal/packet-mmse.c =================================================================== RCS file: /cvsroot/ethereal/packet-mmse.c,v retrieving revision 1.12 diff -u -r1.12 packet-mmse.c --- packet-mmse.c 2002/06/07 22:50:49 1.12 +++ packet-mmse.c 2002/07/16 23:27:34 @@ -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" Index: ethereal/packet-msproxy.c =================================================================== RCS file: /cvsroot/ethereal/packet-msproxy.c,v retrieving revision 1.29 diff -u -r1.29 packet-msproxy.c --- packet-msproxy.c 2002/05/01 08:14:32 1.29 +++ packet-msproxy.c 2002/07/16 23:27:34 @@ -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" Index: ethereal/packet-ranap.c =================================================================== RCS file: /cvsroot/ethereal/packet-ranap.c,v retrieving revision 1.12 diff -u -r1.12 packet-ranap.c --- packet-ranap.c 2002/04/14 23:22:21 1.12 +++ packet-ranap.c 2002/07/16 23:27:36 @@ -45,10 +45,6 @@ #include <string.h> #include <glib.h> -#ifdef NEED_SNPRINTF_H -# include "snprintf.h" -#endif - #include <epan/packet.h> Index: ethereal/packet-rmi.c =================================================================== RCS file: /cvsroot/ethereal/packet-rmi.c,v retrieving revision 1.1 diff -u -r1.1 packet-rmi.c --- packet-rmi.c 2002/05/29 18:52:26 1.1 +++ packet-rmi.c 2002/07/16 23:27:36 @@ -41,10 +41,6 @@ #include <glib.h> -#ifdef NEED_SNPRINTF_H -# include "snprintf.h" -#endif - #include <epan/packet.h> #include <epan/strutil.h> Index: ethereal/packet-smpp.c =================================================================== RCS file: /cvsroot/ethereal/packet-smpp.c,v retrieving revision 1.6 diff -u -r1.6 packet-smpp.c --- packet-smpp.c 2002/03/10 03:08:31 1.6 +++ packet-smpp.c 2002/07/16 23:27:37 @@ -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 */ Index: ethereal/packet-socks.c =================================================================== RCS file: /cvsroot/ethereal/packet-socks.c,v retrieving revision 1.40 diff -u -r1.40 packet-socks.c --- packet-socks.c 2002/06/07 11:37:05 1.40 +++ packet-socks.c 2002/07/16 23:27:37 @@ -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" Index: ethereal/packet-srvloc.c =================================================================== RCS file: /cvsroot/ethereal/packet-srvloc.c,v retrieving revision 1.30 diff -u -r1.30 packet-srvloc.c --- packet-srvloc.c 2002/05/30 08:34:18 1.30 +++ packet-srvloc.c 2002/07/16 23:27:37 @@ -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> Index: ethereal/packet-ssl.c =================================================================== RCS file: /cvsroot/ethereal/packet-ssl.c,v retrieving revision 1.22 diff -u -r1.22 packet-ssl.c --- packet-ssl.c 2002/04/11 09:43:22 1.22 +++ packet-ssl.c 2002/07/16 23:27:38 @@ -62,10 +62,6 @@ #include <glib.h> -#ifdef NEED_SNPRINTF_H -# include "snprintf.h" -#endif - #include <epan/conversation.h> #include "prefs.h" Index: ethereal/packet-sua.c =================================================================== RCS file: /cvsroot/ethereal/packet-sua.c,v retrieving revision 1.7 diff -u -r1.7 packet-sua.c --- packet-sua.c 2002/05/30 08:34:19 1.7 +++ packet-sua.c 2002/07/16 23:27:40 @@ -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" Index: ethereal/packet-tcp.c =================================================================== RCS file: /cvsroot/ethereal/packet-tcp.c,v retrieving revision 1.145 diff -u -r1.145 packet-tcp.c --- packet-tcp.c 2002/07/02 08:18:45 1.145 +++ packet-tcp.c 2002/07/16 23:27:40 @@ -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" Index: ethereal/packet-ucp.c =================================================================== RCS file: /cvsroot/ethereal/packet-ucp.c,v retrieving revision 1.16 diff -u -r1.16 packet-ucp.c --- packet-ucp.c 2002/06/20 20:17:40 1.16 +++ packet-ucp.c 2002/07/16 23:27:41 @@ -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 */ Index: ethereal/epan/osi-utils.c =================================================================== RCS file: /cvsroot/ethereal/epan/osi-utils.c,v retrieving revision 1.5 diff -u -r1.5 osi-utils.c --- osi-utils.c 2002/06/28 22:43:49 1.5 +++ osi-utils.c 2002/07/16 23:27:41 @@ -35,10 +35,6 @@ # include <sys/types.h> #endif -#ifdef NEED_SNPRINTF_H -# include "snprintf.h" -#endif - #include <stdio.h> #include <glib.h> Index: ethereal/epan/packet.c =================================================================== RCS file: /cvsroot/ethereal/epan/packet.c,v retrieving revision 1.73 diff -u -r1.73 packet.c --- packet.c 2002/06/23 10:32:32 1.73 +++ packet.c 2002/07/16 23:27:42 @@ -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 Index: ethereal/epan/ftypes/ftype-integer.c =================================================================== RCS file: /cvsroot/ethereal/epan/ftypes/ftype-integer.c,v retrieving revision 1.8 diff -u -r1.8 ftype-integer.c --- ftype-integer.c 2002/02/05 22:50:17 1.8 +++ ftype-integer.c 2002/07/16 23:27:42 @@ -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" Index: ethereal/gtk/capture_dlg.c =================================================================== RCS file: /cvsroot/ethereal/gtk/capture_dlg.c,v retrieving revision 1.69 diff -u -r1.69 capture_dlg.c --- capture_dlg.c 2002/06/24 20:56:15 1.69 +++ capture_dlg.c 2002/07/16 23:27:43 @@ -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> Index: ethereal/gtk/display_opts.c =================================================================== RCS file: /cvsroot/ethereal/gtk/display_opts.c,v retrieving revision 1.26 diff -u -r1.26 display_opts.c --- display_opts.c 2002/03/05 11:55:58 1.26 +++ display_opts.c 2002/07/16 23:27:43 @@ -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> Index: ethereal/gtk/proto_draw.c =================================================================== RCS file: /cvsroot/ethereal/gtk/proto_draw.c,v retrieving revision 1.54 diff -u -r1.54 proto_draw.c --- proto_draw.c 2002/06/24 00:08:28 1.54 +++ proto_draw.c 2002/07/16 23:27:43 @@ -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> Index: ethereal/plugins/docsis/packet-bpkmattr.c =================================================================== RCS file: /cvsroot/ethereal/plugins/docsis/packet-bpkmattr.c,v retrieving revision 1.1 diff -u -r1.1 packet-bpkmattr.c --- packet-bpkmattr.c 2002/07/12 22:52:41 1.1 +++ packet-bpkmattr.c 2002/07/16 23:27:44 @@ -43,10 +43,6 @@ #include <gmodule.h> -#ifdef NEED_SNPRINTF_H -# include "snprintf.h" -#endif - #include <epan/packet.h> /* BPKM Attributes defined in: Index: ethereal/plugins/docsis/packet-bpkmreq.c =================================================================== RCS file: /cvsroot/ethereal/plugins/docsis/packet-bpkmreq.c,v retrieving revision 1.1 diff -u -r1.1 packet-bpkmreq.c --- packet-bpkmreq.c 2002/07/12 22:52:41 1.1 +++ packet-bpkmreq.c 2002/07/16 23:27:44 @@ -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 */ Index: ethereal/plugins/docsis/packet-bpkmrsp.c =================================================================== RCS file: /cvsroot/ethereal/plugins/docsis/packet-bpkmrsp.c,v retrieving revision 1.1 diff -u -r1.1 packet-bpkmrsp.c --- packet-bpkmrsp.c 2002/07/12 22:52:41 1.1 +++ packet-bpkmrsp.c 2002/07/16 23:27:44 @@ -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 */ Index: ethereal/plugins/docsis/packet-docsis.c =================================================================== RCS file: /cvsroot/ethereal/plugins/docsis/packet-docsis.c,v retrieving revision 1.1 diff -u -r1.1 packet-docsis.c --- packet-docsis.c 2002/07/12 22:52:41 1.1 +++ packet-docsis.c 2002/07/16 23:27:44 @@ -60,10 +60,6 @@ #include <gmodule.h> -#ifdef NEED_SNPRINTF_H -# include "snprintf.h" -#endif - #include <epan/packet.h> Index: ethereal/plugins/docsis/packet-dsaack.c =================================================================== RCS file: /cvsroot/ethereal/plugins/docsis/packet-dsaack.c,v retrieving revision 1.1 diff -u -r1.1 packet-dsaack.c --- packet-dsaack.c 2002/07/12 22:52:41 1.1 +++ packet-dsaack.c 2002/07/16 23:27:44 @@ -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 */ Index: ethereal/plugins/docsis/packet-dsareq.c =================================================================== RCS file: /cvsroot/ethereal/plugins/docsis/packet-dsareq.c,v retrieving revision 1.1 diff -u -r1.1 packet-dsareq.c --- packet-dsareq.c 2002/07/12 22:52:41 1.1 +++ packet-dsareq.c 2002/07/16 23:27:44 @@ -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 */ Index: ethereal/plugins/docsis/packet-dsarsp.c =================================================================== RCS file: /cvsroot/ethereal/plugins/docsis/packet-dsarsp.c,v retrieving revision 1.1 diff -u -r1.1 packet-dsarsp.c --- packet-dsarsp.c 2002/07/12 22:52:41 1.1 +++ packet-dsarsp.c 2002/07/16 23:27:44 @@ -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 */ Index: ethereal/plugins/docsis/packet-dscack.c =================================================================== RCS file: /cvsroot/ethereal/plugins/docsis/packet-dscack.c,v retrieving revision 1.1 diff -u -r1.1 packet-dscack.c --- packet-dscack.c 2002/07/12 22:52:41 1.1 +++ packet-dscack.c 2002/07/16 23:27:44 @@ -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 */ Index: ethereal/plugins/docsis/packet-dscreq.c =================================================================== RCS file: /cvsroot/ethereal/plugins/docsis/packet-dscreq.c,v retrieving revision 1.1 diff -u -r1.1 packet-dscreq.c --- packet-dscreq.c 2002/07/12 22:52:41 1.1 +++ packet-dscreq.c 2002/07/16 23:27:44 @@ -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 */ Index: ethereal/plugins/docsis/packet-dscrsp.c =================================================================== RCS file: /cvsroot/ethereal/plugins/docsis/packet-dscrsp.c,v retrieving revision 1.1 diff -u -r1.1 packet-dscrsp.c --- packet-dscrsp.c 2002/07/12 22:52:41 1.1 +++ packet-dscrsp.c 2002/07/16 23:27:44 @@ -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 */ Index: ethereal/plugins/docsis/packet-dsdreq.c =================================================================== RCS file: /cvsroot/ethereal/plugins/docsis/packet-dsdreq.c,v retrieving revision 1.1 diff -u -r1.1 packet-dsdreq.c --- packet-dsdreq.c 2002/07/12 22:52:41 1.1 +++ packet-dsdreq.c 2002/07/16 23:27:44 @@ -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 */ Index: ethereal/plugins/docsis/packet-dsdrsp.c =================================================================== RCS file: /cvsroot/ethereal/plugins/docsis/packet-dsdrsp.c,v retrieving revision 1.1 diff -u -r1.1 packet-dsdrsp.c --- packet-dsdrsp.c 2002/07/12 22:52:41 1.1 +++ packet-dsdrsp.c 2002/07/16 23:27:44 @@ -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 */ Index: ethereal/plugins/docsis/packet-macmgmt.c =================================================================== RCS file: /cvsroot/ethereal/plugins/docsis/packet-macmgmt.c,v retrieving revision 1.1 diff -u -r1.1 packet-macmgmt.c --- packet-macmgmt.c 2002/07/12 22:52:41 1.1 +++ packet-macmgmt.c 2002/07/16 23:27:44 @@ -44,10 +44,6 @@ #include <glib.h> -#ifdef NEED_SNPRINTF_H -# include "snprintf.h" -#endif - #include <epan/packet.h> #define MGT_SYNC 1 Index: ethereal/plugins/docsis/packet-map.c =================================================================== RCS file: /cvsroot/ethereal/plugins/docsis/packet-map.c,v retrieving revision 1.1 diff -u -r1.1 packet-map.c --- packet-map.c 2002/07/12 22:52:41 1.1 +++ packet-map.c 2002/07/16 23:27:44 @@ -44,10 +44,6 @@ #include <gmodule.h> -#ifdef NEED_SNPRINTF_H -# include "snprintf.h" -#endif - #include <epan/packet.h> #define IUC_REQUEST 1 Index: ethereal/plugins/docsis/packet-regack.c =================================================================== RCS file: /cvsroot/ethereal/plugins/docsis/packet-regack.c,v retrieving revision 1.1 diff -u -r1.1 packet-regack.c --- packet-regack.c 2002/07/12 22:52:41 1.1 +++ packet-regack.c 2002/07/16 23:27:44 @@ -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 */ Index: ethereal/plugins/docsis/packet-regreq.c =================================================================== RCS file: /cvsroot/ethereal/plugins/docsis/packet-regreq.c,v retrieving revision 1.1 diff -u -r1.1 packet-regreq.c --- packet-regreq.c 2002/07/12 22:52:41 1.1 +++ packet-regreq.c 2002/07/16 23:27:44 @@ -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 */ Index: ethereal/plugins/docsis/packet-regrsp.c =================================================================== RCS file: /cvsroot/ethereal/plugins/docsis/packet-regrsp.c,v retrieving revision 1.1 diff -u -r1.1 packet-regrsp.c --- packet-regrsp.c 2002/07/12 22:52:41 1.1 +++ packet-regrsp.c 2002/07/16 23:27:44 @@ -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 */ Index: ethereal/plugins/docsis/packet-rngreq.c =================================================================== RCS file: /cvsroot/ethereal/plugins/docsis/packet-rngreq.c,v retrieving revision 1.1 diff -u -r1.1 packet-rngreq.c --- packet-rngreq.c 2002/07/12 22:52:41 1.1 +++ packet-rngreq.c 2002/07/16 23:27:44 @@ -44,10 +44,6 @@ #include <gmodule.h> -#ifdef NEED_SNPRINTF_H -# include "snprintf.h" -#endif - #include <epan/packet.h> Index: ethereal/plugins/docsis/packet-rngrsp.c =================================================================== RCS file: /cvsroot/ethereal/plugins/docsis/packet-rngrsp.c,v retrieving revision 1.1 diff -u -r1.1 packet-rngrsp.c --- packet-rngrsp.c 2002/07/12 22:52:41 1.1 +++ packet-rngrsp.c 2002/07/16 23:27:44 @@ -43,10 +43,6 @@ #include <gmodule.h> -#ifdef NEED_SNPRINTF_H -# include "snprintf.h" -#endif - #include <epan/packet.h> #define RNGRSP_TIMING 1 Index: ethereal/plugins/docsis/packet-tlv.c =================================================================== RCS file: /cvsroot/ethereal/plugins/docsis/packet-tlv.c,v retrieving revision 1.2 diff -u -r1.2 packet-tlv.c --- packet-tlv.c 2002/07/14 08:37:45 1.2 +++ packet-tlv.c 2002/07/16 23:27:45 @@ -44,10 +44,6 @@ #include <gmodule.h> -#ifdef NEED_SNPRINTF_H -# include "snprintf.h" -#endif - #include <epan/packet.h> #include "packet-tlv.h" Index: ethereal/plugins/docsis/packet-uccreq.c =================================================================== RCS file: /cvsroot/ethereal/plugins/docsis/packet-uccreq.c,v retrieving revision 1.1 diff -u -r1.1 packet-uccreq.c --- packet-uccreq.c 2002/07/12 22:52:42 1.1 +++ packet-uccreq.c 2002/07/16 23:27:45 @@ -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 */ Index: ethereal/plugins/docsis/packet-uccrsp.c =================================================================== RCS file: /cvsroot/ethereal/plugins/docsis/packet-uccrsp.c,v retrieving revision 1.1 diff -u -r1.1 packet-uccrsp.c --- packet-uccrsp.c 2002/07/12 22:52:42 1.1 +++ packet-uccrsp.c 2002/07/16 23:27:45 @@ -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 */ Index: ethereal/plugins/docsis/packet-ucd.c =================================================================== RCS file: /cvsroot/ethereal/plugins/docsis/packet-ucd.c,v retrieving revision 1.1 diff -u -r1.1 packet-ucd.c --- packet-ucd.c 2002/07/12 22:52:42 1.1 +++ packet-ucd.c 2002/07/16 23:27:45 @@ -45,10 +45,6 @@ #include <gmodule.h> -#ifdef NEED_SNPRINTF_H -# include "snprintf.h" -#endif - #include <epan/packet.h> #define UCD_SYMBOL_RATE 1 Index: ethereal/plugins/giop/packet-coseventcomm.c =================================================================== RCS file: /cvsroot/ethereal/plugins/giop/packet-coseventcomm.c,v retrieving revision 1.9 diff -u -r1.9 packet-coseventcomm.c --- packet-coseventcomm.c 2002/05/06 21:53:33 1.9 +++ packet-coseventcomm.c 2002/07/16 23:27:45 @@ -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> Index: ethereal/plugins/giop/packet-cosnaming.c =================================================================== RCS file: /cvsroot/ethereal/plugins/giop/packet-cosnaming.c,v retrieving revision 1.10 diff -u -r1.10 packet-cosnaming.c --- packet-cosnaming.c 2002/05/06 21:53:33 1.10 +++ packet-cosnaming.c 2002/07/16 23:27:46 @@ -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> Index: ethereal/packet-ieee80211.c =================================================================== RCS file: /cvsroot/ethereal/packet-ieee80211.c,v retrieving revision 1.70 diff -u -r1.70 packet-ieee80211.c --- packet-ieee80211.c 2002/06/22 23:11:36 1.70 +++ packet-ieee80211.c 2002/07/16 23:37:31 @@ -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 Index: ethereal/packet-wtls.c =================================================================== RCS file: /cvsroot/ethereal/packet-wtls.c,v retrieving revision 1.19 diff -u -r1.19 packet-wtls.c --- packet-wtls.c 2002/06/15 23:27:15 1.19 +++ packet-wtls.c 2002/07/16 23:37:32 @@ -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 Index: ethereal/packet-afp.c =================================================================== RCS file: /cvsroot/ethereal/packet-afp.c,v retrieving revision 1.17 diff -u -r1.17 packet-afp.c --- packet-afp.c 2002/06/20 00:44:33 1.17 +++ packet-afp.c 2002/07/16 23:37:33 @@ -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 Index: ethereal/packet-wsp.c =================================================================== RCS file: /cvsroot/ethereal/packet-wsp.c,v retrieving revision 1.57 diff -u -r1.57 packet-wsp.c --- packet-wsp.c 2002/06/15 23:23:31 1.57 +++ packet-wsp.c 2002/07/16 23:37:35 @@ -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 Index: ethereal/packet-wtp.c =================================================================== RCS file: /cvsroot/ethereal/packet-wtp.c,v retrieving revision 1.35 diff -u -r1.35 packet-wtp.c --- packet-wtp.c 2002/06/07 10:11:41 1.35 +++ packet-wtp.c 2002/07/16 23:37:35 @@ -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
- Follow-Ups:
- Prev by Date: Re: [Ethereal-dev] Add missing includes for snprintf.h
- Next by Date: Re: [Ethereal-dev] Remove doubly included varargs and unused snprintf
- Previous by thread: Re: [Ethereal-dev] Add missing includes for snprintf.h
- Next by thread: Re: [Ethereal-dev] Remove doubly included varargs and unused snprintf
- Index(es):