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/crc16-plain.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'wsutil/crc16-plain.h') diff --git a/wsutil/crc16-plain.h b/wsutil/crc16-plain.h index 155ec6cc66..178a6ef0fc 100644 --- a/wsutil/crc16-plain.h +++ b/wsutil/crc16-plain.h @@ -20,6 +20,8 @@ #ifndef __CRC____PLAIN_H__ #define __CRC____PLAIN_H__ +#include "ws_symbol_export.h" + #include #include @@ -66,6 +68,7 @@ static inline crc16_plain_t crc16_plain_init(void) * \param data_len Number of bytes in the \a data buffer. * \return The updated crc value. *****************************************************************************/ +WS_DLL_PUBLIC crc16_plain_t crc16_plain_update(crc16_plain_t crc, const unsigned char *data, size_t data_len); /** @@ -97,6 +100,7 @@ static inline crc16_plain_t crc16_plain_finalize(crc16_plain_t crc) * \param data_len Number of bytes in the \a data buffer. * \return The crc value. *****************************************************************************/ +WS_DLL_PUBLIC guint16 crc16_8005_noreflect_noxor(const guint8 *data, guint64 data_len); -- cgit v1.2.1