summaryrefslogtreecommitdiff
path: root/wiretap/pcap-encap.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 /wiretap/pcap-encap.h
parent0b8d70bfb715bc3d89b6dfae86fc79d7c4387f02 (diff)
downloadwireshark-1ebdb2e521ca0cbd7aeebd1c89b8a5cf6a4cc322.tar.gz
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 'wiretap/pcap-encap.h')
-rw-r--r--wiretap/pcap-encap.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/wiretap/pcap-encap.h b/wiretap/pcap-encap.h
index c86cbfcb56..f75ba67325 100644
--- a/wiretap/pcap-encap.h
+++ b/wiretap/pcap-encap.h
@@ -34,12 +34,9 @@
extern "C" {
#endif /* __cplusplus */
-WS_DLL_PUBLIC
-extern int wtap_pcap_encap_to_wtap_encap(int encap);
-WS_DLL_PUBLIC
-extern int wtap_wtap_encap_to_pcap_encap(int encap);
-WS_DLL_PUBLIC
-extern gboolean wtap_encap_requires_phdr(int encap);
+WS_DLL_PUBLIC int wtap_pcap_encap_to_wtap_encap(int encap);
+WS_DLL_PUBLIC int wtap_wtap_encap_to_pcap_encap(int encap);
+WS_DLL_PUBLIC gboolean wtap_encap_requires_phdr(int encap);
#ifdef __cplusplus
}