aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-data.h
diff options
context:
space:
mode:
authorBalint Reczey <balint@balintreczey.hu>2013-03-01 23:53:11 +0000
committerBalint Reczey <balint@balintreczey.hu>2013-03-01 23:53:11 +0000
commit1ebdb2e521ca0cbd7aeebd1c89b8a5cf6a4cc322 (patch)
treed6dde0ea7b6e6e15cc2c51a5f478fb85965b9720 /epan/dissectors/packet-data.h
parent0b8d70bfb715bc3d89b6dfae86fc79d7c4387f02 (diff)
Export libwireshark symbols using WS_DLL_PUBLIC define
Also remove old WS_VAR_IMPORT define and related Makefile magic everywhere in the project. svn path=/trunk/; revision=47992
Diffstat (limited to 'epan/dissectors/packet-data.h')
-rw-r--r--epan/dissectors/packet-data.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/epan/dissectors/packet-data.h b/epan/dissectors/packet-data.h
index 4b3057277c..a290402f99 100644
--- a/epan/dissectors/packet-data.h
+++ b/epan/dissectors/packet-data.h
@@ -24,9 +24,12 @@
#ifndef __PACKET_DATA_H__
#define __PACKET_DATA_H__
-/* "proto_data" is exported from libwireshark.dll.
+#include "ws_symbol_export.h"
+
+/*
+ "proto_data" is exported from libwireshark.dll.
* Thus we need a special declaration.
*/
-WS_VAR_IMPORT int proto_data;
+WS_DLL_PUBLIC int proto_data;
#endif /* __PACKET_DATA_H__ */