From 004220fb63d9c49f5ba389a7d80d0bbde14ba11f Mon Sep 17 00:00:00 2001 From: Jakub Zawadzki Date: Sat, 16 Nov 2013 22:31:07 +0000 Subject: Exporting/importing variables cause problems, so create function to do bitswaping. svn path=/trunk/; revision=53374 --- wsutil/bitswap.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'wsutil/bitswap.h') diff --git a/wsutil/bitswap.h b/wsutil/bitswap.h index bbf374b01e..ad50ab5192 100644 --- a/wsutil/bitswap.h +++ b/wsutil/bitswap.h @@ -31,9 +31,7 @@ extern "C" { #endif /* __cplusplus */ -WS_DLL_PUBLIC const guint8 swaptab[256]; - -#define BIT_SWAP(b) (swaptab[b]) +WS_DLL_PUBLIC void bit_swap_buf_inplace(guint8 *buf, size_t len); #ifdef __cplusplus } -- cgit v1.2.1