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 /register.h | |
parent | 0b8d70bfb715bc3d89b6dfae86fc79d7c4387f02 (diff) | |
download | wireshark-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 'register.h')
-rw-r--r-- | register.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/register.h b/register.h index a19e14b842..969d0037a5 100644 --- a/register.h +++ b/register.h @@ -25,6 +25,8 @@ #ifndef __REGISTER_H__ #define __REGISTER_H__ +#include "ws_symbol_export.h" + #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ @@ -48,10 +50,10 @@ typedef enum { typedef void (*register_cb)(register_action_e action, const char *message, gpointer client_data); -extern void register_all_protocols(register_cb cb, gpointer client_data); -extern void register_all_protocol_handoffs(register_cb cb, gpointer client_data); +WS_DLL_PUBLIC void register_all_protocols(register_cb cb, gpointer client_data); +WS_DLL_PUBLIC void register_all_protocol_handoffs(register_cb cb, gpointer client_data); extern void register_all_tap_listeners(void); -extern gulong register_count(void); +WS_DLL_PUBLIC gulong register_count(void); #ifdef __cplusplus } |