diff options
author | Bill Meier <wmeier@newsguy.com> | 2010-10-07 21:09:29 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2010-10-07 21:09:29 +0000 |
commit | 626b802ba30727befb6dd0056fabadfc5043986e (patch) | |
tree | 7b80aea1d71fbea148344d8e669842dad83e0045 /epan/dissectors/packet-tn3270.c | |
parent | 390252fa293acfa10d4e5626e7118811f3c45a1e (diff) |
Define global variables ROWS, COLS, MAXROWS, MAXCOLS as static;
Also: Define a few functions as static.
svn path=/trunk/; revision=34407
Diffstat (limited to 'epan/dissectors/packet-tn3270.c')
-rw-r--r-- | epan/dissectors/packet-tn3270.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |