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/crc7.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'wsutil/crc7.h') 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); -- cgit v1.2.1