Remove:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 9 Apr 2008 05:36:08 +0000 (05:36 +0000)
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 9 Apr 2008 05:36:08 +0000 (05:36 +0000)
#ifdef NEED_G_ASCII_STRCASECMP_H
#include "g_ascii_strcasecmp.h"
#endif

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24859 f5534014-38df-0310-8fa8-9805f1628bb7

37 files changed:
airpcap_loader.c
capture-wpcap.c
epan/crypt/airpdcap.c
epan/dfilter/semcheck.c
epan/dissectors/packet-3com-njack.c
epan/dissectors/packet-afp.c
epan/dissectors/packet-cigi.c
epan/dissectors/packet-edonkey.c
epan/dissectors/packet-giop.c
epan/dissectors/packet-http.c
epan/dissectors/packet-ieee80211.c
epan/dissectors/packet-ipsec.c
epan/dissectors/packet-megaco.c
epan/dissectors/packet-mgcp.c
epan/dissectors/packet-multipart.c
epan/dissectors/packet-pvfs2.c
epan/dissectors/packet-rtcp.c
epan/dissectors/packet-rtsp.c
epan/dissectors/packet-sabp.c
epan/dissectors/packet-sccp.c
epan/dissectors/packet-sip.c
epan/dissectors/packet-smtp.c
epan/dissectors/packet-sqloracle.c
epan/dissectors/packet-tftp.c
epan/dissectors/packet-tivoconnect.c
epan/dissectors/packet-vnc.c
epan/dissectors/packet-wbxml.c
epan/dissectors/packet-wsp.c
epan/dissectors/packet-xml.c
epan/prefs.c
epan/proto.c
epan/req_resp_hdrs.c
epan/strutil.c
epan/tvbuff.c
epan/tvbuff.h
tap-mgcpstat.c
util.c

index 411df70c8eee782dd057980972719c2eb7b8fde5..c622d877ea88bbeb81aa18ac0776629c4980a718 100644 (file)
@@ -54,9 +54,6 @@
 #include <airpcap.h>
 #include "airpcap_loader.h"
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
 
 /*
  * We load dynamically the dag library in order link it only when
index 04ebe5e3225f2cb2de71d24c8c6355db4bc912b4..10d5cb8da52422a39d61ca5475ea5254ca1603d3 100644 (file)
 /* XXX - yes, I know, I should move cppmagic.h to a generic location. */
 #include "tools/lemon/cppmagic.h"
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
-
-
 #define MAX_WIN_IF_NAME_LEN 511
 
 
index be520885902ce154769a673d2bebd6ce573c29dd..22e8aa4e0466b5c4bfd3974acb8c977fbbb1b338 100644 (file)
@@ -56,9 +56,6 @@
 
 #include "wep-wpadefs.h"
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "../g_ascii_strcasecmp.h"
-#endif
 
 /****************************************************************************/
 
index 2e48be2adb0eeb60a7a106ec724a53ffb3443793..7c3fb259c79cfc3cd18102a65faa3f2d0a9061e6 100644 (file)
@@ -36,9 +36,6 @@
 #include <epan/exceptions.h>
 #include <epan/packet.h>
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
 
 /* Enable debug logging by defining AM_CFLAGS
  * so that it contains "-DDEBUG_dfilter".
index 724b47852c587baeebd5614b815e7ce08a60fd8d..11354f3d5aa4e4845bcad896e8907416466ff351 100644 (file)
@@ -59,9 +59,6 @@ Specs:
 #include <epan/packet.h>
 #include <epan/emem.h>
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
 
 /* protocol handles */
 static int proto_njack = -1;
index a1808384ea5c4d82d26772c56caa0a6178feb18c..d5d435d6062f7ca465c2fffbdbef195af9c56a3f 100644 (file)
 
 #include "packet-afp.h"
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
-
 /* The information in this module (AFP) comes from:
 
   AFP 2.1 & 2.2 documentation, in PDF form, at
index 38bb101fdcbfe4905f3fe47ecc809eb62803eb00..c2dac27303f716368afafc3a5a8f8158f3656668 100644 (file)
 #include <epan/prefs.h>
 #include <epan/emem.h>
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
-
 /* Forward declaration */
 void proto_reg_handoff_cigi(void);
 static gboolean packet_is_cigi(tvbuff_t*);
index 0d4ec50670f6a68f6b4fe290a48a8e88cada1153..a739c14f3113aecd4d4373b92fb2e87ea99bb2b0 100644 (file)
 #include "packet-edonkey.h"
 #include "packet-tcp.h"
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
-
 static int proto_edonkey = -1;
 
 static int hf_edonkey_message  = -1;
index d3438314743468c79d7c5bb361ab2b77241de3e1..cc67d5035aa62aa5340243438cb141eacee6c044 100644 (file)
 #include "packet-tcp.h"
 #include <wiretap/file_util.h>
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
 
 /*
  * Set to 1 for DEBUG output - TODO make this a runtime option
index cd06cede6825843e89d6108b59893e5adc89e604..a02fa48ca2fbaf48a4ebf925ba04fef3818651fb 100644 (file)
@@ -61,9 +61,6 @@ typedef enum _http_type {
 
 #include <epan/tap.h>
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
 
 static int http_tap = -1;
 static int http_eo_tap = -1;
index 8cd9e99be4c781bfb5690f7c662b20403271302d..c339793a1852e31113b3b1abab1274be826f8d0a 100644 (file)
 #define MAX_ENCRYPTION_KEYS 64
 #endif
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
-
 #ifndef roundup2
 #define        roundup2(x, y)  (((x)+((y)-1))&(~((y)-1)))  /* if y is powers of two */
 #endif
index 06c709cfebaa7da555f668b3e26a9d33e56060ab..5f4dad9e71cbc993633fa1278fdd2f87c5205c96 100644 (file)
@@ -85,9 +85,6 @@ HMAC-SHA256 : any keylen
 #include <gcrypt.h>
 #endif /* HAVE_LIBGCRYPT */
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
 
 static int proto_ah = -1;
 static int hf_ah_spi = -1;
index 60fda2535d7e332fa46c946e95b2a607ec492204..f9aae24066dd4b8a00eb05f5002d72e7798d3228 100644 (file)
 #include <epan/gcp.h>
 #include <epan/tap.h>
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
-
 #define PORT_MEGACO_TXT 2944
 #define PORT_MEGACO_BIN 2945
 
index 1a6539cec87b4ece0a93185c3ee959d02d0e4a31..a45759056ccccdf24bd850a2fc54642c14e51d65 100644 (file)
@@ -48,9 +48,6 @@
 #include <epan/strutil.h>
 #include "packet-mgcp.h"
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
 
 #define TCP_PORT_MGCP_GATEWAY 2427
 #define UDP_PORT_MGCP_GATEWAY 2427
index 2d164f609956e2b586c582d6d6fe133f1ab665df..e9b9d2c4c57af91d44da822e4eabe1ed5b9769ca 100644 (file)
 
 #include "packet-imf.h"
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
-
 /* Dissector table for media requiring special attention in multipart
  * encapsulation. */
 static dissector_table_t multipart_media_subdissector_table;
index 996dfc921f204ba81db5f3919b6305d4ace50d92..ae444468f40becaf3dfd5f47e781622c4043916d 100644 (file)
 #include <epan/strutil.h>
 #include "packet-tcp.h"
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
-
 #define TCP_PORT_PVFS2 3334
 
 #define PVFS2_FH_LENGTH 8
index 733e05ded11d701e8cf026e975cb37eeaf87ccd7..18f89bc7e8d993c9bb4ad0ac7786fdbf25e7f282 100644 (file)
 #include <epan/expert.h>
 #include <epan/strutil.h>
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
-
-
 /* Version is the first 2 bits of the first octet*/
 #define RTCP_VERSION(octet)    ((octet) >> 6)
 
index 0dae2c300ff4657afd078db479daaff039936e10..93b1866692203c1741bb793a40656cc3b4ab9ecc 100644 (file)
 #include "packet-e164.h"
 #include <epan/emem.h>
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
-
 static int proto_rtsp          = -1;
 
 static gint ett_rtsp           = -1;
index 3fd922c449653aa61a3ddbbd4930d1d46826c078..ea375b3909718527b3fbd6a6b00a4b9aa916b940 100644 (file)
@@ -51,6 +51,7 @@
 #include "packet-per.h"
 #include "packet-e212.h"
 #include "packet-gsm_map.h"
+#include "packet-gsm_sms.h"
 
 #ifdef _MSC_VER
 /* disable: "warning C4146: unary minus operator applied to unsigned type, result still unsigned" */
@@ -103,7 +104,7 @@ typedef enum _ProtocolIE_ID_enum {
 } ProtocolIE_ID_enum;
 
 /*--- End of included file: packet-sabp-val.h ---*/
-#line 57 "packet-sabp-template.c"
+#line 58 "packet-sabp-template.c"
 
 static dissector_handle_t sabp_handle = NULL;
 static dissector_handle_t sabp_tcp_handle = NULL;
@@ -111,6 +112,7 @@ static dissector_handle_t sabp_tcp_handle = NULL;
 /* Initialize the protocol and registered fields */
 static int proto_sabp = -1;
 
+static int hf_sabp_no_of_pages = -1;
 
 /*--- Included file: packet-sabp-hf.c ---*/
 #line 1 "packet-sabp-hf.c"
@@ -191,12 +193,13 @@ static int hf_sabp_successfulOutcome_value = -1;  /* SuccessfulOutcome_value */
 static int hf_sabp_unsuccessfulOutcome_value = -1;  /* UnsuccessfulOutcome_value */
 
 /*--- End of included file: packet-sabp-hf.c ---*/
-#line 65 "packet-sabp-template.c"
+#line 67 "packet-sabp-template.c"
 
 /* Initialize the subtree pointers */
 static int ett_sabp = -1;
 static int ett_sabp_e212 = -1;
-static int ett_sabp_cbs_data_coding = -1;;
+static int ett_sabp_cbs_data_coding = -1;
+static int ett_sabp_bcast_msg = -1;
 
 
 /*--- Included file: packet-sabp-ett.c ---*/
@@ -242,7 +245,7 @@ static gint ett_sabp_SuccessfulOutcome = -1;
 static gint ett_sabp_UnsuccessfulOutcome = -1;
 
 /*--- End of included file: packet-sabp-ett.c ---*/
-#line 72 "packet-sabp-template.c"
+#line 75 "packet-sabp-template.c"
 
 /* Global variables */
 static guint32 ProcedureCode;
@@ -471,8 +474,49 @@ dissect_sabp_Available_Bandwidth(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *
 
 static int
 dissect_sabp_Broadcast_Message_Content(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
+#line 170 "sabp.cnf"
+ tvbuff_t *parameter_tvb=NULL;
+ proto_tree *subtree;
+  int                  length, par_offset;
+  guint8               out_len, no_of_pages;
+ static unsigned char bigbuf[1024];
+
   offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index,
-                                     1, 9968, FALSE, NULL);
+                                     1, 9968, FALSE, &parameter_tvb);
+
+       if (!parameter_tvb)
+               return offset;
+       subtree = proto_item_add_subtree(actx->created_item, ett_sabp_bcast_msg);
+       par_offset = 0;
+       /* Number-of-Pages */
+       no_of_pages = tvb_get_guint8(parameter_tvb,0);
+       proto_tree_add_item(subtree, hf_sabp_no_of_pages, parameter_tvb, par_offset, 1, FALSE);
+
+       if((no_of_pages > 82)||(no_of_pages == 1)){
+               proto_tree_add_text(subtree, parameter_tvb, 0, -1, "Wrong number of pages");
+               return offset;
+       }
+       par_offset++;
+       length = tvb_length_remaining(parameter_tvb,par_offset);
+
+       switch(sms_encoding){
+    case SMS_ENCODING_7BIT:
+    case SMS_ENCODING_7BIT_LANG:
+       out_len = gsm_sms_char_7bit_unpack(par_offset, length, sizeof(bigbuf),
+                                          tvb_get_ptr(parameter_tvb, par_offset, length),
+                                                      bigbuf);
+
+       bigbuf[out_len] = '\0';
+       gsm_sms_char_ascii_decode(bigbuf, bigbuf, out_len);
+       bigbuf[1023] = '\0';
+       proto_tree_add_text(tree, parameter_tvb, par_offset, length, "USSD String: %s", bigbuf);
+       break;
+    case SMS_ENCODING_8BIT:
+       proto_tree_add_text(tree, parameter_tvb , par_offset, length, "USSD String: %s", tvb_get_ptr(parameter_tvb, par_offset, length));
+       break;
+    default:
+       break;  
+  }
 
   return offset;
 }
@@ -1602,7 +1646,7 @@ static int dissect_SABP_PDU_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto
 
 
 /*--- End of included file: packet-sabp-fn.c ---*/
-#line 96 "packet-sabp-template.c"
+#line 99 "packet-sabp-template.c"
 
 static int dissect_ProtocolIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 {
@@ -1680,6 +1724,11 @@ void proto_register_sabp(void) {
   /* List of fields */
 
   static hf_register_info hf[] = {
+    { &hf_sabp_no_of_pages,
+      { "Number-of-Pages", "sabp.no_of_pages",
+        FT_UINT8, BASE_DEC, NULL, 0,
+        "Number-of-Pages", HFILL }},
+
 
 /*--- Included file: packet-sabp-hfarr.c ---*/
 #line 1 "packet-sabp-hfarr.c"
@@ -1985,7 +2034,7 @@ void proto_register_sabp(void) {
         "sabp.UnsuccessfulOutcome_value", HFILL }},
 
 /*--- End of included file: packet-sabp-hfarr.c ---*/
-#line 174 "packet-sabp-template.c"
+#line 182 "packet-sabp-template.c"
   };
 
   /* List of subtrees */
@@ -1993,6 +2042,7 @@ void proto_register_sabp(void) {
                  &ett_sabp,
                  &ett_sabp_e212,
                  &ett_sabp_cbs_data_coding,
+                 &ett_sabp_bcast_msg,
 
 /*--- Included file: packet-sabp-ettarr.c ---*/
 #line 1 "packet-sabp-ettarr.c"
@@ -2037,7 +2087,7 @@ void proto_register_sabp(void) {
     &ett_sabp_UnsuccessfulOutcome,
 
 /*--- End of included file: packet-sabp-ettarr.c ---*/
-#line 182 "packet-sabp-template.c"
+#line 191 "packet-sabp-template.c"
   };
 
 
@@ -2111,7 +2161,7 @@ proto_reg_handoff_sabp(void)
 
 
 /*--- End of included file: packet-sabp-dis-tab.c ---*/
-#line 214 "packet-sabp-template.c"
+#line 223 "packet-sabp-template.c"
 
   sabp_handle = find_dissector("sabp");
   dissector_add("tcp.port", 3452, sabp_tcp_handle);
index bf17a925e7b52358d997f16ffa5e60dee5c8e358..cfaad56d3f26ad3485cba6568b7400028342cb84 100644 (file)
 #include "packet-frame.h"
 #include "tap.h"
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
-
 static Standard_Type decode_mtp3_standard;
 #define SCCP_SI 3
 
index c746a41bd7f8d87bd6ec35e9a595e354a85974a0..307c8514c5bd819683887fb685f749276d0e88b1 100644 (file)
 #include "packet-tcp.h"
 #include "packet-ssl.h"
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
-
 #define TCP_PORT_SIP 5060
 #define UDP_PORT_SIP 5060
 #define TLS_PORT_SIP 5061
index 32b79aa8505c4b2416c74476a766660f62955b92..096400c72e15a9531e538d6e94b58445d192dd60 100644 (file)
 #include <epan/emem.h>
 #include <epan/reassemble.h>
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
-
 /* RFC 2821 */
 #define TCP_PORT_SMTP 25
 
index 4ab245cc15fe9e309f17d7823dab3cefebb682c2..9b719d63b28d659ce6f09801390841ab810948e9 100644 (file)
 #include <epan/packet.h>
 #include "packet-sqloracle.h"
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
-
 #define SWAP_UI16(ui16)        (((ui16)>>8 & 0xff) | ((ui16)<<8 & 0xff00))
 
 /* option flag 1 */
index 92fb4e2929330ec27d7f11f7d922ca1aa052dd4c..f0fcdb761775a0b402cf9abcbd33090ad22c066f 100644 (file)
 #include <epan/emem.h>
 #include <epan/expert.h>
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
-
 /* Things we may want to remember for a whole conversation */
 typedef struct _tftp_conv_info_t {
        guint16 blocksize;
index 7d2a51fdde7718b755c2b555dfac9a9e2c072afb..76f499eb847a468a174f77e827302c42a973553c 100644 (file)
 #include <epan/prefs.h>
 #include <epan/ipproto.h>
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
-
 /* Forward declaration we need below */
 void proto_reg_handoff_tivoconnect(void);
 
index 72b69f963159aaac55f612b1dbc5cdfa82afd39f..8bce57cf9e5908ff001c476245aaaa4b6bc5e459 100644 (file)
@@ -59,9 +59,6 @@
 #include "packet-x11-keysym.h" /* This contains the X11 value_string
                                * "keysym_vals_source" that VNC also uses. */
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
 
 static const value_string security_types_vs[] = {
        { 0,  "Invalid"  },
index d7505faf1cabe127b15d97ead7d2dac626714f3e..ffcefa6a4d50ad220ccd3bfae313f8d8134b67c1 100644 (file)
@@ -62,9 +62,6 @@
 /* We need the function tvb_get_guintvar() */
 #include "packet-wap.h"
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
 
 /* General-purpose debug logger.
  * Requires double parentheses because of variable arguments of printf().
index 681ccb12271eb1d9d24f861b3e9c5a540e52d88c..c4d648b9063defd50411673a7dacecb3daae292f 100644 (file)
 #include "packet-wap.h"
 #include "packet-wsp.h"
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
-
 /* General-purpose debug logger.
  * Requires double parentheses because of variable arguments of printf().
  *
index 2b0dcf394eb1a42715fe6362ce319072da682797..21b4b69d1d30f8a5a362b2919533726b80f8a1a5 100644 (file)
@@ -54,9 +54,6 @@
 #include <epan/prefs.h>
 #include <epan/garrayfix.h>
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
 
 typedef struct _xml_ns_t {
     /* the name of this namespace */
index c74759062ccb3e6046b2d5424c832a64924d3e96..ab1ae76cdc3938fd0f8e56f5b8f1a4abb9543497 100644 (file)
 #include <epan/prefs-int.h>
 #include <epan/uat-int.h>
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
-
 /* Internal functions */
 static module_t *find_subtree(module_t *parent, const char *tilte);
 static module_t *prefs_register_module_or_subtree(module_t *parent,
index 60f5fe7e42151f5253ff604c2b648a128acf8679..2473ef94ec1952c374ef5e921a5e3f91d936ab90 100644 (file)
 #include "asm_utils.h"
 #include "column-utils.h"
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
-
 #define SUBTREE_ONCE_ALLOCATION_NUMBER 8
 #define SUBTREE_MAX_LEVELS 256
 
index 99bee6705d97d61fadd26eee60c923b01cd471be..957ff998bb84d84799401329f95500bed530db2c 100644 (file)
 
 #include <epan/req_resp_hdrs.h>
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
-
 /*
  * Optionally do reassembly of the request/response line, headers, and body.
  */
index a9083a8975a62e5db87fec51c9704a89e912afbe..f6dc886be64ad6eb49e8197cab769e86c936239d 100644 (file)
 #include <wchar.h>
 #endif
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
-
 static const char hex[16] = { '0', '1', '2', '3', '4', '5', '6', '7',
                              '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };
 
index eda82a28e7c562606cd72ef01a8f6fb2154fda43..1327471f10cad8bb11bb97cc8d48ad756ef84701 100644 (file)
 #include "emem.h"
 #include "proto.h"     /* XXX - only used for DISSECTOR_ASSERT, probably a new header file? */
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
-
 static const guint8*
 ensure_contiguous_no_exception(tvbuff_t *tvb, gint offset, gint length,
                int *exception);
index df4da31c85ccf2fb7a4b3f16fc68605a802d9857..7ddf58db72624d24f9bcb502272d43dc53b33ef7 100644 (file)
 #include <epan/guid-utils.h>
 #include "exceptions.h"
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "g_ascii_strcasecmp.h"
-#endif
-
 /** @file
  * "testy, virtual(-izable) buffer".  They are testy in that they get mad when
  * an attempt is made to access data beyond the bounds of their array. In that
index 745dbd64e9cedd1ad3e978357df0cc30327f4561..816388bd875871d9a0d864873e857d906b558d78 100644 (file)
 #include "epan/dissectors/packet-mgcp.h"
 #include "timestats.h"
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "epan/g_ascii_strcasecmp.h"
-#endif
-
 #define NUM_TIMESTATS 11
 
 /* used to keep track of the statistics for an entire program interface */
diff --git a/util.c b/util.c
index ddbc6a77c513e70c199be93d80b51afaab25891f..c614e4b5e49d46f2a319e8cf89ef8788f225e737 100644 (file)
--- a/util.c
+++ b/util.c
 
 #include "util.h"
 
-#ifdef NEED_G_ASCII_STRCASECMP_H
-#include "epan/g_ascii_strcasecmp.h"
-#endif
-
 /*
  * Collect command-line arguments as a string consisting of the arguments,
  * separated by spaces.