keyhash: Removed duplicate const keyword (silence compiler warning: clang)

This commit is contained in:
Heikki Hannikainen 2013-12-22 01:05:42 +02:00
parent ed8e80fecf
commit 9c64a53a4e
1 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@
void keyhash_init(void) { }
uint32_t __attribute__((pure)) keyhash(const void const *p, int len, uint32_t hash)
uint32_t __attribute__((pure)) keyhash(const void *p, int len, uint32_t hash)
{
const uint8_t *u = p;
int i;
@ -93,7 +93,7 @@ uint32_t __attribute__((pure)) keyhash(const void const *p, int len, uint32_t ha
/* The data material is known to contain ASCII, and if any value in there
* is a lower case letter, it is first converted to upper case one.
*/
uint32_t __attribute__((pure)) keyhashuc(const void const *p, int len, uint32_t hash)
uint32_t __attribute__((pure)) keyhashuc(const void *p, int len, uint32_t hash)
{
const uint8_t *u = p;
int i;