diff options
author | Balint Reczey <balint@balintreczey.hu> | 2013-02-28 14:09:46 +0000 |
---|---|---|
committer | Balint Reczey <balint@balintreczey.hu> | 2013-02-28 14:09:46 +0000 |
commit | 45c2884f1bbd9c06f7ba3091d968fcb6649a5f56 (patch) | |
tree | bb66eea36a288f1ab5e33468ee9bf2989339b2aa /wsutil/crc7.h | |
parent | 018ba4ea6584f63aa5c4b741c2e6f6fedc609ad2 (diff) | |
download | wireshark-45c2884f1bbd9c06f7ba3091d968fcb6649a5f56.tar.gz wireshark-45c2884f1bbd9c06f7ba3091d968fcb6649a5f56.tar.bz2 wireshark-45c2884f1bbd9c06f7ba3091d968fcb6649a5f56.zip |
Export libwsutil symbols using WS_DLL_PUBLIC define
This change replaces *.def and *.sym file usage following the
guideline at http://gcc.gnu.org/wiki/Visibility
svn path=/trunk/; revision=47938
Diffstat (limited to 'wsutil/crc7.h')
-rw-r--r-- | wsutil/crc7.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wsutil/crc7.h b/wsutil/crc7.h index 8189dd80ca..68259e8146 100644 --- a/wsutil/crc7.h +++ b/wsutil/crc7.h @@ -38,6 +38,8 @@ #ifndef __CRC7__H__ #define __CRC7__H__ +#include "ws_symbol_export.h" + #ifdef __cplusplus extern "C" { #endif @@ -67,6 +69,7 @@ static inline guint8 crc7init(void) * \param data_len Number of bytes in the \a data buffer. * \return The updated crc value. *****************************************************************************/ +WS_DLL_PUBLIC extern guint8 crc7update(guint8 crc, const unsigned char *data, int data_len); |