aboutsummaryrefslogtreecommitdiffstats
path: root/ui/cli
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 /ui/cli
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 'ui/cli')
-rw-r--r--ui/cli/Makefile.nmake2
-rw-r--r--ui/cli/tap-follow.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/ui/cli/Makefile.nmake b/ui/cli/Makefile.nmake
index e32645b12f..09f9eb8d48 100644
--- a/ui/cli/Makefile.nmake
+++ b/ui/cli/Makefile.nmake
@@ -11,7 +11,7 @@ include ..\..\Makefile.nmake.inc
# We use GENERATED_CFLAGS to get around flex's non-LLP64-compliant output
GENERATED_CFLAGS=\
$(STANDARD_CFLAGS) \
- -D_NEED_VAR_IMPORT_ /Zm800 \
+ /Zm800 \
/I../.. /I../../wiretap $(GLIB_CFLAGS) $(GNUTLS_CFLAGS) \
/I$(PCAP_DIR)\WPCAP\LIBPCAP /I$(PCAP_DIR)\WPCAP\LIBPCAP\bpf \
/I$(PCAP_DIR)\WPCAP\LIBPCAP\lbl \
diff --git a/ui/cli/tap-follow.c b/ui/cli/tap-follow.c
index 516b6bcd6c..db6fad8ba1 100644
--- a/ui/cli/tap-follow.c
+++ b/ui/cli/tap-follow.c
@@ -28,6 +28,7 @@
*/
#include "config.h"
+#include "ws_symbol_export.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
@@ -53,7 +54,7 @@
#include <epan/dissectors/packet-ssl-utils.h>
#endif
-WS_VAR_IMPORT FILE *data_out_file;
+WS_DLL_PUBLIC FILE *data_out_file;
typedef enum
{