summaryrefslogtreecommitdiffstats
path: root/lib/jhash.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-05-20 03:04:26 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-05-20 03:04:26 +0200
commit24873f0c06e6196a105f648e8fe29d19dcddd1de (patch)
treef0ad6ae52390a9ed3b63c6fe228da30f5cf92d7b /lib/jhash.h
parentbgpd: bgpd-no-as.patch (diff)
downloadfrr-24873f0c06e6196a105f648e8fe29d19dcddd1de.tar.xz
frr-24873f0c06e6196a105f648e8fe29d19dcddd1de.zip
lib: lib-warnings.patch
Remove compile warnings for the lib directory Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by:
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.