Make top_tree static. This allows ethereal to be built on Mac OS X.
authortuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 9 May 2006 10:20:28 +0000 (10:20 +0000)
committertuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 9 May 2006 10:20:28 +0000 (10:20 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18113 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-ndmp.c
epan/dissectors/packet-tipc.c

index c3fe9242e3c0d45ab6fca119e3aac0ae4b55f447..3b7c8a3d4f578751dba417e9b32a5a076d8dda50 100644 (file)
@@ -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)
index 2ef2e0f4965b0ba0974bff98c807f1b34d77b736..b2564b3e063d1fe09aba32a788181d70959e5f89 100644 (file)
@@ -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 */