aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-data.h
diff options
context:
space:
mode:
authorobiot <obiot@f5534014-38df-0310-8fa8-9805f1628bb7>2004-07-29 00:11:14 +0000
committerobiot <obiot@f5534014-38df-0310-8fa8-9805f1628bb7>2004-07-29 00:11:14 +0000
commit73e2078f869c39d43d7bfe54a8aa14aa691aa9d6 (patch)
tree04b7a3581442ea8a49caf07643231d0059927a82 /epan/dissectors/packet-data.h
parent2d4aaa81317566634c286e8b9d5712576165be62 (diff)
From Lars Roland: With this patch print.(c/h) and ps.(c/h) don't belong to
the DISSECTOR_SUPPORT_xy files any longer and as a consequence they won't be linked into libethereal. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11559 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-data.h')
-rw-r--r--epan/dissectors/packet-data.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/dissectors/packet-data.h b/epan/dissectors/packet-data.h
index 9906948b50..9109e6443b 100644
--- a/epan/dissectors/packet-data.h
+++ b/epan/dissectors/packet-data.h
@@ -24,6 +24,9 @@
#ifndef __PACKET_DATA_H__
#define __PACKET_DATA_H__
-extern int proto_data;
+/* "proto_data" is exported from libethereal.dll.
+ * Thus we need a special declaration.
+ */
+ETH_VAR_IMPORT int proto_data;
#endif /* __PACKET_DATA_H__ */