aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Tüxen <tuexen@fh-muenster.de>2006-05-09 10:20:28 +0000
committerMichael Tüxen <tuexen@fh-muenster.de>2006-05-09 10:20:28 +0000
commit3365271c04b1547476edd3edfb2dd2e4069d3a9e (patch)
tree7918292d64b9c4d828870b67d1cddf0feca939ab
parent01f6f60b62f7d3aa8a5fb1b823c2a77490631bac (diff)
Make top_tree static. This allows ethereal to be built on Mac OS X.
svn path=/trunk/; revision=18113
-rw-r--r--epan/dissectors/packet-ndmp.c2
-rw-r--r--epan/dissectors/packet-tipc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ndmp.c b/epan/dissectors/packet-ndmp.c
index c3fe9242e3..3b7c8a3d4f 100644
--- a/epan/dissectors/packet-ndmp.c
+++ b/epan/dissectors/packet-ndmp.c
@@ -274,7 +274,7 @@ typedef struct _ndmp_conv_data_t {
ndmp_task_data_t *task;
} ndmp_conv_data_t;
ndmp_conv_data_t *ndmp_conv_data=NULL;
-proto_tree *top_tree;
+static proto_tree *top_tree;
static guint8
get_ndmp_protocol_version(ndmp_conv_data_t *ndmp_conv_data)
diff --git a/epan/dissectors/packet-tipc.c b/epan/dissectors/packet-tipc.c
index 2ef2e0f496..b2564b3e06 100644
--- a/epan/dissectors/packet-tipc.c
+++ b/epan/dissectors/packet-tipc.c
@@ -157,7 +157,7 @@ static gboolean extra_ethertype = FALSE;
dissector_handle_t ip_handle;
-proto_tree *top_tree;
+static proto_tree *top_tree;
static const fragment_items tipc_msg_frag_items = {
/* Fragment subtrees */