diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-08-10 21:27:34 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-08-10 21:27:34 +0000 |
commit | 1ef2d9fd58525b90375e6f2cb8b3874843e7b7bb (patch) | |
tree | 68e84cf675a21eacd71726c35a5744caaebc049d /wsutil/crc16.h | |
parent | a1abe1540bbb396564d7d948cc86f0a537c66142 (diff) |
Fix (-W)documentation error found by Clang
../wsutil/crc16.h:68:11: error: parameter 'pBuffer' not found in the function declaration [-Werror,-Wdocumentation]
* @param pBuffer a pointer to a buffer of the given length
^~~~~~~
../wsutil/crc16.h:68:11: note: did you mean 'buf'?
* @param pBuffer a pointer to a buffer of the given length
^~~~~~~
buf
../wsutil/crc16.h:77:11: error: parameter 'pBuffer' not found in the function declaration [-Werror,-Wdocumentation]
* @param pBuffer a pointer to a buffer of the given length
^~~~~~~
../wsutil/crc16.h:77:11: note: did you mean 'buf'?
* @param pBuffer a pointer to a buffer of the given length
^~~~~~~
buf
svn path=/trunk/; revision=51251
Diffstat (limited to 'wsutil/crc16.h')
-rw-r--r-- | wsutil/crc16.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wsutil/crc16.h b/wsutil/crc16.h index 351b049e9f..546f246dce 100644 --- a/wsutil/crc16.h +++ b/wsutil/crc16.h @@ -65,7 +65,7 @@ WS_DLL_PUBLIC guint16 crc16_ccitt_seed(const guint8 *buf, guint len, guint16 see /** Calculates a CRC16 checksum for the given buffer with the polynom * 0x5935 using a precompiled CRC table - * @param pBuffer a pointer to a buffer of the given length + * @param buf a pointer to a buffer of the given length * @param len the length of the given buffer * @param seed The seed to use. * @return the CRC16 checksum for the buffer @@ -74,7 +74,7 @@ WS_DLL_PUBLIC guint16 crc16_0x5935(const guint8 *buf, guint32 len, guint16 seed) /** Calculates a CRC16 checksum for the given buffer with the polynom * 0x755B using a precompiled CRC table - * @param pBuffer a pointer to a buffer of the given length + * @param buf a pointer to a buffer of the given length * @param len the length of the given buffer * @param seed The seed to use. * @return the CRC16 checksum for the buffer |