Fix (-W)documentation error found by Clang
authoralagoutte <alagoutte@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 10 Aug 2013 21:27:34 +0000 (21:27 +0000)
committeralagoutte <alagoutte@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 10 Aug 2013 21:27:34 +0000 (21:27 +0000)
../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

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@51251 f5534014-38df-0310-8fa8-9805f1628bb7

wsutil/crc16.h

index 351b049e9f84a815b967d78364b96be67a5bcd4b..546f246dce04f4343269b3f6f916d0487def54d2 100644 (file)
@@ -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