diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2012-09-20 01:29:52 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2012-09-20 01:29:52 +0000 |
commit | 3551a86c36fa9f27dede601320a812d2ce0ae941 (patch) | |
tree | c74c0f93eaeda6f2bc7f09898a85431eea7e381b /ui | |
parent | 3e05236eff6c7f3638f7a1b94ca9a1f398e673a1 (diff) | |
download | wireshark-3551a86c36fa9f27dede601320a812d2ce0ae941.tar.gz wireshark-3551a86c36fa9f27dede601320a812d2ce0ae941.tar.bz2 wireshark-3551a86c36fa9f27dede601320a812d2ce0ae941.zip |
We always HAVE_CONFIG_H so don't bother checking whether we have it or not.
svn path=/trunk/; revision=45015
Diffstat (limited to 'ui')
39 files changed, 33 insertions, 111 deletions
diff --git a/ui/cli/tap-afpstat.c b/ui/cli/tap-afpstat.c index 5a7571d80f..9721731c92 100644 --- a/ui/cli/tap-afpstat.c +++ b/ui/cli/tap-afpstat.c @@ -23,9 +23,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> diff --git a/ui/cli/tap-ansi_astat.c b/ui/cli/tap-ansi_astat.c index 0f4f2839ec..bf34feced5 100644 --- a/ui/cli/tap-ansi_astat.c +++ b/ui/cli/tap-ansi_astat.c @@ -28,9 +28,7 @@ * This TAP provides statistics for the ANSI A Interface: */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> diff --git a/ui/cli/tap-bootpstat.c b/ui/cli/tap-bootpstat.c index 57783f9da7..00ffbbfff1 100644 --- a/ui/cli/tap-bootpstat.c +++ b/ui/cli/tap-bootpstat.c @@ -22,9 +22,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> #include <string.h> diff --git a/ui/cli/tap-camelcounter.c b/ui/cli/tap-camelcounter.c index d5fde1b4c9..600a351e0a 100644 --- a/ui/cli/tap-camelcounter.c +++ b/ui/cli/tap-camelcounter.c @@ -25,9 +25,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> diff --git a/ui/cli/tap-camelsrt.c b/ui/cli/tap-camelsrt.c index 7490940910..2c0e19dda8 100644 --- a/ui/cli/tap-camelsrt.c +++ b/ui/cli/tap-camelsrt.c @@ -23,9 +23,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> diff --git a/ui/cli/tap-comparestat.c b/ui/cli/tap-comparestat.c index 7754677749..970854cdae 100644 --- a/ui/cli/tap-comparestat.c +++ b/ui/cli/tap-comparestat.c @@ -32,9 +32,7 @@ * It is only used by tshark and not wireshark */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> #include <math.h> diff --git a/ui/cli/tap-dcerpcstat.c b/ui/cli/tap-dcerpcstat.c index a8b7897c33..677095c5e7 100644 --- a/ui/cli/tap-dcerpcstat.c +++ b/ui/cli/tap-dcerpcstat.c @@ -22,9 +22,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> diff --git a/ui/cli/tap-diameter-avp.c b/ui/cli/tap-diameter-avp.c index 709b652a78..fa0b4c476a 100644 --- a/ui/cli/tap-diameter-avp.c +++ b/ui/cli/tap-diameter-avp.c @@ -36,9 +36,7 @@ * E.g. Zero or more Multiple-Services-Credit-Control AVPs(456) */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> diff --git a/ui/cli/tap-expert.c b/ui/cli/tap-expert.c index b5978a2910..ac68219abd 100644 --- a/ui/cli/tap-expert.c +++ b/ui/cli/tap-expert.c @@ -23,9 +23,7 @@ */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <stdio.h> diff --git a/ui/cli/tap-follow.c b/ui/cli/tap-follow.c index 495f975fc8..db74e6aba8 100644 --- a/ui/cli/tap-follow.c +++ b/ui/cli/tap-follow.c @@ -27,9 +27,7 @@ * It is only used by tshark and not wireshark. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #ifdef HAVE_UNISTD_H #include <unistd.h> diff --git a/ui/cli/tap-funnel.c b/ui/cli/tap-funnel.c index 0326ca874d..455a4eda6b 100644 --- a/ui/cli/tap-funnel.c +++ b/ui/cli/tap-funnel.c @@ -26,9 +26,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <glib.h> #include <wiretap/wtap.h> diff --git a/ui/cli/tap-gsm_astat.c b/ui/cli/tap-gsm_astat.c index 7006c5b2a8..fe98cf0ada 100644 --- a/ui/cli/tap-gsm_astat.c +++ b/ui/cli/tap-gsm_astat.c @@ -28,9 +28,7 @@ * This TAP provides statistics for the GSM A Interface: */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> diff --git a/ui/cli/tap-h225counter.c b/ui/cli/tap-h225counter.c index f324112f81..6707a7689a 100644 --- a/ui/cli/tap-h225counter.c +++ b/ui/cli/tap-h225counter.c @@ -23,9 +23,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> diff --git a/ui/cli/tap-h225rassrt.c b/ui/cli/tap-h225rassrt.c index abacf98159..456d54c1b2 100644 --- a/ui/cli/tap-h225rassrt.c +++ b/ui/cli/tap-h225rassrt.c @@ -23,9 +23,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> diff --git a/ui/cli/tap-hosts.c b/ui/cli/tap-hosts.c index 936b53065e..5e397feb15 100644 --- a/ui/cli/tap-hosts.c +++ b/ui/cli/tap-hosts.c @@ -23,9 +23,7 @@ /* Dump our collected IPv4- and IPv6-to-hostname mappings */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> diff --git a/ui/cli/tap-httpstat.c b/ui/cli/tap-httpstat.c index ffedf5cfe3..d10291292a 100644 --- a/ui/cli/tap-httpstat.c +++ b/ui/cli/tap-httpstat.c @@ -22,9 +22,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> #include <string.h> diff --git a/ui/cli/tap-icmpstat.c b/ui/cli/tap-icmpstat.c index ce53b2e026..66cb89e7ee 100644 --- a/ui/cli/tap-icmpstat.c +++ b/ui/cli/tap-icmpstat.c @@ -28,9 +28,7 @@ * It was based on tap-rpcstat.c and doc/README.tapping. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> diff --git a/ui/cli/tap-icmpv6stat.c b/ui/cli/tap-icmpv6stat.c index 37ba0fedae..610d98d993 100644 --- a/ui/cli/tap-icmpv6stat.c +++ b/ui/cli/tap-icmpv6stat.c @@ -29,9 +29,7 @@ * doc/README.tapping. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> diff --git a/ui/cli/tap-iostat.c b/ui/cli/tap-iostat.c index 35e0a49465..b0bc46391f 100644 --- a/ui/cli/tap-iostat.c +++ b/ui/cli/tap-iostat.c @@ -22,9 +22,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <stdio.h> diff --git a/ui/cli/tap-iousers.c b/ui/cli/tap-iousers.c index 14e616532e..201f5c6bf0 100644 --- a/ui/cli/tap-iousers.c +++ b/ui/cli/tap-iousers.c @@ -22,9 +22,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> diff --git a/ui/cli/tap-macltestat.c b/ui/cli/tap-macltestat.c index cf2df41e09..1c80e87150 100644 --- a/ui/cli/tap-macltestat.c +++ b/ui/cli/tap-macltestat.c @@ -23,9 +23,7 @@ */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <stdio.h> diff --git a/ui/cli/tap-megacostat.c b/ui/cli/tap-megacostat.c index 921640f160..11543fdb33 100644 --- a/ui/cli/tap-megacostat.c +++ b/ui/cli/tap-megacostat.c @@ -24,9 +24,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> diff --git a/ui/cli/tap-mgcpstat.c b/ui/cli/tap-mgcpstat.c index 1fd82db05f..d7d9beb4a4 100644 --- a/ui/cli/tap-mgcpstat.c +++ b/ui/cli/tap-mgcpstat.c @@ -22,9 +22,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> diff --git a/ui/cli/tap-protocolinfo.c b/ui/cli/tap-protocolinfo.c index 1495890b3d..121a205eb8 100644 --- a/ui/cli/tap-protocolinfo.c +++ b/ui/cli/tap-protocolinfo.c @@ -24,9 +24,7 @@ /* This module provides Protocol Column Info tap for tshark */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> diff --git a/ui/cli/tap-protohierstat.c b/ui/cli/tap-protohierstat.c index 6a4649a813..3ffd8b9cd0 100644 --- a/ui/cli/tap-protohierstat.c +++ b/ui/cli/tap-protohierstat.c @@ -24,9 +24,7 @@ /* This module provides ProtocolHierarchyStatistics for tshark */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> diff --git a/ui/cli/tap-radiusstat.c b/ui/cli/tap-radiusstat.c index 9467bc8c8d..26271e2806 100644 --- a/ui/cli/tap-radiusstat.c +++ b/ui/cli/tap-radiusstat.c @@ -22,9 +22,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> diff --git a/ui/cli/tap-rlcltestat.c b/ui/cli/tap-rlcltestat.c index ab334dd18b..5b0c3e51ed 100644 --- a/ui/cli/tap-rlcltestat.c +++ b/ui/cli/tap-rlcltestat.c @@ -23,9 +23,7 @@ */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <stdio.h> diff --git a/ui/cli/tap-rpcprogs.c b/ui/cli/tap-rpcprogs.c index a325288a49..c80dce0127 100644 --- a/ui/cli/tap-rpcprogs.c +++ b/ui/cli/tap-rpcprogs.c @@ -26,9 +26,7 @@ * It is only used by tshark and not wireshark */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> diff --git a/ui/cli/tap-rpcstat.c b/ui/cli/tap-rpcstat.c index 79830715de..32a18c6bb5 100644 --- a/ui/cli/tap-rpcstat.c +++ b/ui/cli/tap-rpcstat.c @@ -28,9 +28,7 @@ * It serves as an example on how to use the tap api. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> diff --git a/ui/cli/tap-rtp.c b/ui/cli/tap-rtp.c index 20da2283bc..f81966bbe0 100644 --- a/ui/cli/tap-rtp.c +++ b/ui/cli/tap-rtp.c @@ -33,9 +33,7 @@ * This TAP provides statistics for RTP streams */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> diff --git a/ui/cli/tap-rtspstat.c b/ui/cli/tap-rtspstat.c index 325b38c4d5..e0de4b8ec6 100644 --- a/ui/cli/tap-rtspstat.c +++ b/ui/cli/tap-rtspstat.c @@ -25,9 +25,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> #include <string.h> diff --git a/ui/cli/tap-scsistat.c b/ui/cli/tap-scsistat.c index b0dae2960d..b8b226f097 100644 --- a/ui/cli/tap-scsistat.c +++ b/ui/cli/tap-scsistat.c @@ -21,9 +21,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> diff --git a/ui/cli/tap-sctpchunkstat.c b/ui/cli/tap-sctpchunkstat.c index 9e03be272d..1d1ff52a18 100644 --- a/ui/cli/tap-sctpchunkstat.c +++ b/ui/cli/tap-sctpchunkstat.c @@ -23,9 +23,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> diff --git a/ui/cli/tap-sipstat.c b/ui/cli/tap-sipstat.c index dc34281702..cd794aa030 100644 --- a/ui/cli/tap-sipstat.c +++ b/ui/cli/tap-sipstat.c @@ -23,9 +23,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> diff --git a/ui/cli/tap-smbsids.c b/ui/cli/tap-smbsids.c index 6fb66623a5..e5c65e9039 100644 --- a/ui/cli/tap-smbsids.c +++ b/ui/cli/tap-smbsids.c @@ -22,9 +22,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> diff --git a/ui/cli/tap-smbstat.c b/ui/cli/tap-smbstat.c index c56f64946a..def34b89ea 100644 --- a/ui/cli/tap-smbstat.c +++ b/ui/cli/tap-smbstat.c @@ -22,9 +22,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> diff --git a/ui/cli/tap-stats_tree.c b/ui/cli/tap-stats_tree.c index 4ba1fe38e7..ec6a165763 100644 --- a/ui/cli/tap-stats_tree.c +++ b/ui/cli/tap-stats_tree.c @@ -23,9 +23,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include <string.h> #include <stdio.h> diff --git a/ui/cli/tap-sv.c b/ui/cli/tap-sv.c index 6406db6df2..6b54e8820b 100644 --- a/ui/cli/tap-sv.c +++ b/ui/cli/tap-sv.c @@ -23,9 +23,7 @@ */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> #include <stdlib.h> diff --git a/ui/cli/tap-wspstat.c b/ui/cli/tap-wspstat.c index e10f9babce..82895ec063 100644 --- a/ui/cli/tap-wspstat.c +++ b/ui/cli/tap-wspstat.c @@ -27,9 +27,7 @@ * */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #include <stdio.h> |