From f571a12d9b83da711f56ce252c05a384af32512c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 7 Apr 2009 13:04:19 +0000 Subject: [PATCH] jhash.h (jhash2): make first parameter const * include/corosync/jhash.h (jhash2): const. git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2017 fd59a12c-fef9-0310-b244-a6a79926bd2f --- include/corosync/jhash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/corosync/jhash.h b/include/corosync/jhash.h index cf768762..c5b4ed51 100644 --- a/include/corosync/jhash.h +++ b/include/corosync/jhash.h @@ -87,7 +87,7 @@ static inline u32 jhash(const void *key, u32 length, u32 initval) /* A special optimized version that handles 1 or more of u32s. * The length parameter here is the number of u32s in the key. */ -static inline u32 jhash2(u32 *k, u32 length, u32 initval) +static inline u32 jhash2(const u32 *k, u32 length, u32 initval) { u32 a, b, c, len;