diff options
author | Balint Reczey <balint@balintreczey.hu> | 2013-03-01 23:53:11 +0000 |
---|---|---|
committer | Balint Reczey <balint@balintreczey.hu> | 2013-03-01 23:53:11 +0000 |
commit | 1ebdb2e521ca0cbd7aeebd1c89b8a5cf6a4cc322 (patch) | |
tree | d6dde0ea7b6e6e15cc2c51a5f478fb85965b9720 /wsutil/crc16.h | |
parent | 0b8d70bfb715bc3d89b6dfae86fc79d7c4387f02 (diff) |
Export libwireshark symbols using WS_DLL_PUBLIC define
Also remove old WS_VAR_IMPORT define and related Makefile magic
everywhere in the project.
svn path=/trunk/; revision=47992
Diffstat (limited to 'wsutil/crc16.h')
-rw-r--r-- | wsutil/crc16.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/wsutil/crc16.h b/wsutil/crc16.h index 09dde4b893..3529a1af6c 100644 --- a/wsutil/crc16.h +++ b/wsutil/crc16.h @@ -46,15 +46,13 @@ extern "C" { @param buf The buffer containing the data. @param len The number of bytes to include in the computation. @return The CRC16 CCITT checksum. */ -WS_DLL_PUBLIC -extern guint16 crc16_ccitt(const guint8 *buf, guint len); +WS_DLL_PUBLIC guint16 crc16_ccitt(const guint8 *buf, guint len); /** Compute CRC16 X.25 CCITT checksum of a buffer of data. @param buf The buffer containing the data. @param len The number of bytes to include in the computation. @return The CRC16 X.25 CCITT checksum. */ -WS_DLL_PUBLIC -extern guint16 crc16_x25_ccitt(const guint8 *buf, guint len); +WS_DLL_PUBLIC guint16 crc16_x25_ccitt(const guint8 *buf, guint len); /** Compute CRC16 CCITT checksum of a buffer of data. If computing the * checksum over multiple buffers and you want to feed the partial CRC16 @@ -63,8 +61,7 @@ extern guint16 crc16_x25_ccitt(const guint8 *buf, guint len); @param len The number of bytes to include in the computation. @param seed The seed to use. @return The CRC16 CCITT checksum (using the given seed). */ -WS_DLL_PUBLIC -extern guint16 crc16_ccitt_seed(const guint8 *buf, guint len, guint16 seed); +WS_DLL_PUBLIC guint16 crc16_ccitt_seed(const guint8 *buf, guint len, guint16 seed); /** Calculates a CRC16 checksum for the given buffer with the polynom * 0x5935 using a precompiled CRC table @@ -73,8 +70,7 @@ extern guint16 crc16_ccitt_seed(const guint8 *buf, guint len, guint16 seed); * @param seed The seed to use. * @return the CRC16 checksum for the buffer */ -WS_DLL_PUBLIC -extern guint16 crc16_0x5935(const guint8 *buf, guint32 len, guint16 seed); +WS_DLL_PUBLIC guint16 crc16_0x5935(const guint8 *buf, guint32 len, guint16 seed); #ifdef __cplusplus } |