mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-23 02:43:03 +00:00
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
This commit is contained in:
parent
622bbd8299
commit
f571a12d9b
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user