aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-11-16 19:47:25 +0000
committerGuy Harris <guy@alum.mit.edu>2013-11-16 19:47:25 +0000
commit623caeeaa0038880925fa12d029d42d774c6ac8e (patch)
treea68d1a5c5391c3990c2ed335d25d3e4d2f4ec5d5 /wsutil
parente542bd8a7838ff569e5548af33543ef430c1027d (diff)
For *definitions* of external data items, we need to use
WS_DLL_PUBLIC_DEF. svn path=/trunk/; revision=53372
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/bitswap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/wsutil/bitswap.c b/wsutil/bitswap.c
index bccbecf401..8e0fa657b7 100644
--- a/wsutil/bitswap.c
+++ b/wsutil/bitswap.c
@@ -30,8 +30,7 @@
#include "bitswap.h"
/* "swaptab[i]" is the value of "i" with the bits reversed. */
-const guint8
-swaptab[256] =
+WS_DLL_PUBLIC_DEF const guint8 swaptab[256] =
{
0x00, 0x80, 0x40, 0xc0, 0x20, 0xa0, 0x60, 0xe0,
0x10, 0x90, 0x50, 0xd0, 0x30, 0xb0, 0x70, 0xf0,