Constness
This commit is contained in:
parent
6a460fecdd
commit
45e2f10989
2 changed files with 4 additions and 4 deletions
|
@ -50,7 +50,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* @(#)$Id: crc16.h,v 1.2 2008/07/07 23:24:36 adamdunkels Exp $
|
||||
* @(#)$Id: crc16.h,v 1.3 2008/08/26 21:46:07 adamdunkels Exp $
|
||||
*/
|
||||
#ifndef __CRC16_H__
|
||||
#define __CRC16_H__
|
||||
|
@ -87,7 +87,7 @@ unsigned short crc16_add(unsigned char b, unsigned short crc);
|
|||
* well as a table-driven algorithm when checksumming an
|
||||
* entire data block.
|
||||
*/
|
||||
unsigned short crc16_data(unsigned char *data, int datalen,
|
||||
unsigned short crc16_data(const unsigned char *data, int datalen,
|
||||
unsigned short acc);
|
||||
|
||||
#endif /* __CRC16_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue