summaryrefslogtreecommitdiffstats
path: root/lib/jhash.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/jhash.h')
-rw-r--r--lib/jhash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jhash.h b/lib/jhash.h
index 44dd1b562..a9807cc38 100644
--- a/lib/jhash.h
+++ b/lib/jhash.h
@@ -24,7 +24,7 @@
* of bytes. No alignment or length assumptions are made about
* the input key.
*/
-extern u_int32_t jhash(void *key, u_int32_t length, u_int32_t initval);
+extern u_int32_t jhash(const void *key, u_int32_t length, u_int32_t initval);
/* A special optimized version that handles 1 or more of u_int32_ts.
* The length parameter here is the number of u_int32_ts in the key.