summaryrefslogtreecommitdiff
path: root/wsutil/crc10.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/crc10.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/crc10.h')
-rw-r--r--wsutil/crc10.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/wsutil/crc10.h b/wsutil/crc10.h
index f9e50dd476..111763ae83 100644
--- a/wsutil/crc10.h
+++ b/wsutil/crc10.h
@@ -26,7 +26,10 @@
#ifndef __CRC10_H__
#define __CRC10_H__
+#include "ws_symbol_export.h"
+
/* update the data block's CRC-10 remainder one byte at a time */
+WS_DLL_PUBLIC
extern guint16 update_crc10_by_bytes(guint16 crc10, const guint8 *data_blk_ptr, int data_blk_size);
#endif /* __CRC10_H__ */