aboutsummaryrefslogtreecommitdiffstats
path: root/epan/ipproto.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/ipproto.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/ipproto.h')
-rw-r--r--epan/ipproto.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/ipproto.h b/epan/ipproto.h
index 2447383fc0..cee5aa6649 100644
--- a/epan/ipproto.h
+++ b/epan/ipproto.h
@@ -26,6 +26,8 @@
#ifndef __IPPROTO_H__
#define __IPPROTO_H__
+#include "ws_symbol_export.h"
+
/*
* IP protocol numbers.
* http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xml
@@ -194,6 +196,6 @@
#define IP_PROTO_NCS_HEARTBEAT 224 /* Novell NCS Heartbeat - http://support.novell.com/cgi-bin/search/searchtid.cgi?/10071158.htm */
extern value_string_ext ipproto_val_ext;
-extern const char *ipprotostr(const int proto);
+WS_DLL_PUBLIC const char *ipprotostr(const int proto);
#endif /* ipproto.h */