From 626b802ba30727befb6dd0056fabadfc5043986e Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Thu, 7 Oct 2010 21:09:29 +0000 Subject: Define global variables ROWS, COLS, MAXROWS, MAXCOLS as static; Also: Define a few functions as static. svn path=/trunk/; revision=34407 --- epan/dissectors/packet-tn3270.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'epan/dissectors/packet-tn3270.c') diff --git a/epan/dissectors/packet-tn3270.c b/epan/dissectors/packet-tn3270.c index c2c375968b..930e8f24be 100644 --- a/epan/dissectors/packet-tn3270.c +++ b/epan/dissectors/packet-tn3270.c @@ -1522,11 +1522,11 @@ static gint ett_tn3270_dc_dir_flags=-1; static gint ett_tn3270_ccc=-1; static gint ett_tn3270_msr_state_mask=-1; -tn3270_conv_info_t *tn3270_info_items; +static tn3270_conv_info_t *tn3270_info_items; -guint8 ROWS, COLS, MAXROWS, MAXCOLS; +static guint8 ROWS, COLS, MAXROWS, MAXCOLS; -gint dissect_orders_and_data(proto_tree *tn3270_tree, tvbuff_t *tvb, gint offset); +static gint dissect_orders_and_data(proto_tree *tn3270_tree, tvbuff_t *tvb, gint offset); typedef struct hf_items { int hf; @@ -4741,7 +4741,7 @@ dissect_field_attribute_pairs(proto_tree *tn3270_tree, tvbuff_t *tvb, gint offse return (offset - start); } -gint +static gint dissect_orders_and_data(proto_tree *tn3270_tree, tvbuff_t *tvb, gint offset) { gint start = offset; -- cgit v1.2.3