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/timestamp.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/timestamp.h')
-rw-r--r-- | epan/timestamp.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/epan/timestamp.h b/epan/timestamp.h index 27badd5e2c..0992b3eaa0 100644 --- a/epan/timestamp.h +++ b/epan/timestamp.h @@ -25,6 +25,8 @@ #ifndef __TIMESTAMP_H__ #define __TIMESTAMP_H__ +#include "ws_symbol_export.h" + #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ @@ -76,14 +78,14 @@ typedef enum { TS_SECONDS_NOT_SET } ts_seconds_type; -extern ts_type timestamp_get_type(void); -extern void timestamp_set_type(ts_type); +WS_DLL_PUBLIC ts_type timestamp_get_type(void); +WS_DLL_PUBLIC void timestamp_set_type(ts_type); -extern int timestamp_get_precision(void); -extern void timestamp_set_precision(int tsp); +WS_DLL_PUBLIC int timestamp_get_precision(void); +WS_DLL_PUBLIC void timestamp_set_precision(int tsp); -extern ts_seconds_type timestamp_get_seconds_type(void); -extern void timestamp_set_seconds_type(ts_seconds_type); +WS_DLL_PUBLIC ts_seconds_type timestamp_get_seconds_type(void); +WS_DLL_PUBLIC void timestamp_set_seconds_type(ts_seconds_type); #ifdef __cplusplus } |