aboutsummaryrefslogtreecommitdiffstats
path: root/packet-wtp.c
diff options
context:
space:
mode:
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2003-12-21 12:21:37 +0000
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2003-12-21 12:21:37 +0000
commitcf76b444ee403d2a659a08ecd285c11194920868 (patch)
treec1371a955293f557cb316ed57597fdf7c6e9edcc /packet-wtp.c
parente6a2ccb3424ba4fa1b3b8b72f9f31a3d1b593d6c (diff)
warning: static declaration for ... follows non-static
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9394 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-wtp.c')
-rw-r--r--packet-wtp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/packet-wtp.c b/packet-wtp.c
index 842fa7770f..1589c6ce28 100644
--- a/packet-wtp.c
+++ b/packet-wtp.c
@@ -2,7 +2,7 @@
*
* Routines to dissect WTP component of WAP traffic.
*
- * $Id: packet-wtp.c,v 1.55 2003/12/21 05:51:34 jmayer Exp $
+ * $Id: packet-wtp.c,v 1.56 2003/12/21 12:21:37 jmayer Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -76,7 +76,7 @@ static const true_false_string TVETOK_truth = {
"False"
};
-static const value_string vals_pdu_type[] = {
+static const value_string vals_wtp_pdu_type[] = {
{ 0, "Not Allowed" },
{ 1, "Invoke" },
{ 2, "Result" },
@@ -380,7 +380,7 @@ dissect_wtp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* Develop the string to put in the Info column */
g_string_sprintf(szInfo, "WTP %s",
- val_to_str(pdut, vals_pdu_type, "Unknown PDU type 0x%x"));
+ val_to_str(pdut, vals_wtp_pdu_type, "Unknown PDU type 0x%x"));
switch (pdut) {
case INVOKE:
@@ -733,7 +733,7 @@ proto_register_wtp(void)
{ &hf_wtp_header_pdu_type,
{ "PDU Type",
"wtp.pdu_type",
- FT_UINT8, BASE_HEX, VALS( vals_pdu_type ), 0x78,
+ FT_UINT8, BASE_HEX, VALS( vals_wtp_pdu_type ), 0x78,
"PDU Type", HFILL
}
},