aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/crc8.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/crc8.h
parent018ba4ea6584f63aa5c4b741c2e6f6fedc609ad2 (diff)
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/crc8.h')
-rw-r--r--wsutil/crc8.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/wsutil/crc8.h b/wsutil/crc8.h
index 77da290264..28c790fd91 100644
--- a/wsutil/crc8.h
+++ b/wsutil/crc8.h
@@ -27,6 +27,9 @@
#ifndef __CRC8_H__
#define __CRC8_H__
+
+#include "ws_symbol_export.h"
+
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
@@ -38,6 +41,7 @@ extern "C" {
* @param seed The seed to use.
* @return the CRC8 checksum for the buffer
*/
+WS_DLL_PUBLIC
extern guint8 crc8_0x2F(guint8 *buf, guint32 len, guint8 seed);
#ifdef __cplusplus