From 8fb336148fb34474c67fbc6e0354daa4512a22fb Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 18 Aug 2004 01:09:31 +0000 Subject: Const policed pointer arguments to functions, part 3 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4999 a1c6a512-1295-4272-9138-f99709370657 --- apps/debug_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/debug_menu.c') diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 0f4305640e..9fd2e33749 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -202,7 +202,7 @@ bool dbg_mpeg_thread(void) /* Tool function to calculate a CRC16 across some buffer */ -unsigned short crc_16(unsigned char* buf, unsigned len) +unsigned short crc_16(const unsigned char* buf, unsigned len) { /* CCITT standard polynomial 0x1021 */ static const unsigned short crc16_lookup[16] = -- cgit v1.2.3