summaryrefslogtreecommitdiff
path: root/wsutil/crc7.h
diff options
context:
space:
mode:
authorBalint Reczey <balint@balintreczey.hu>2013-02-28 14:09:46 +0000
committerBalint Reczey <balint@balintreczey.hu>2013-02-28 14:09:46 +0000
commit45c2884f1bbd9c06f7ba3091d968fcb6649a5f56 (patch)
treebb66eea36a288f1ab5e33468ee9bf2989339b2aa /wsutil/crc7.h
parent018ba4ea6584f63aa5c4b741c2e6f6fedc609ad2 (diff)
downloadwireshark-45c2884f1bbd9c06f7ba3091d968fcb6649a5f56.tar.gz
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.h3
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);