Define a global variable as static;
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 23 Sep 2009 18:20:06 +0000 (18:20 +0000)
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 23 Sep 2009 18:20:06 +0000 (18:20 +0000)
#include <stdio.h> & <stdlib.h>  not req'd.

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

epan/dissectors/packet-gsm_a_gm.c

index 4ba3d94fccd71abdc944832279fe3268df760c62..4d2b83d4d162d3886f645758ffbdec06e6e40e5b 100644 (file)
@@ -50,9 +50,6 @@
 # include "config.h"
 #endif
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include <string.h>
 
 #include <epan/packet.h>
@@ -250,7 +247,7 @@ static dissector_table_t gprs_sm_pco_subdissector_table; /* GPRS SM PCO PPP Prot
 #define        NUM_GSM_GM_ELEM (sizeof(gsm_gm_elem_strings)/sizeof(value_string))
 gint ett_gsm_gm_elem[NUM_GSM_GM_ELEM];
 
-const  gchar *pdp_str[2]={ "PDP-INACTIVE", "PDP-ACTIVE" };
+static const gchar *pdp_str[2]={ "PDP-INACTIVE", "PDP-ACTIVE" };
 
 /*
  * [7] 10.5.5.1