From 45c2884f1bbd9c06f7ba3091d968fcb6649a5f56 Mon Sep 17 00:00:00 2001 From: Balint Reczey Date: Thu, 28 Feb 2013 14:09:46 +0000 Subject: 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 --- wsutil/crc8.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'wsutil/crc8.h') 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 -- cgit v1.2.3