diff options
author | Balint Reczey <balint@balintreczey.hu> | 2013-03-01 23:53:11 +0000 |
---|---|---|
committer | Balint Reczey <balint@balintreczey.hu> | 2013-03-01 23:53:11 +0000 |
commit | 1ebdb2e521ca0cbd7aeebd1c89b8a5cf6a4cc322 (patch) | |
tree | d6dde0ea7b6e6e15cc2c51a5f478fb85965b9720 /epan/tpg.h | |
parent | 0b8d70bfb715bc3d89b6dfae86fc79d7c4387f02 (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/tpg.h')
-rw-r--r-- | epan/tpg.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/tpg.h b/epan/tpg.h index 5ebc208ce4..4bd5efc64e 100644 --- a/epan/tpg.h +++ b/epan/tpg.h @@ -33,7 +33,7 @@ #include <epan/tvbuff.h> #include <epan/tvbparse.h> #include <epan/emem.h> - +#include "ws_symbol_export.h" typedef struct _tpg_parser_data_t { ep_stack_t stack; @@ -62,10 +62,10 @@ extern tpg_parser_data_t* tpg_start(proto_tree* root_tree, #define TPG_UINT_HEX(i) strtoul(tvb_get_ephemeral_string((i)->tvb,(i)->offset,(i)->len),NULL,16) #define TPG_TVB(i) tvb_new_subset((i)->tvb,(i)->offset,(i)->len,(i)->len) -extern guint32 tpg_ipv4(tvbparse_elem_t*); +WS_DLL_PUBLIC guint32 tpg_ipv4(tvbparse_elem_t*); #define TPG_IPV4(i) tpg_ipv4((i)) -extern guint8* tpg_ipv6(tvbparse_elem_t*); +WS_DLL_PUBLIC guint8* tpg_ipv6(tvbparse_elem_t*); #define TPG_IPV6(i) tpg_ipv6((i)) #define TPG_PUSH(tpg,pi,ett) ep_stack_push(((tpg_parser_data_t*)(tpg))->stack,proto_item_add_subtree((pi),(ett))) |