diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-09-08 13:26:57 -0700 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-09-08 13:26:57 -0700 |
| commit | a4d08ca331944d45ef109c22697c53f935dfa4d6 (patch) | |
| tree | 2bfc18848f1a3f3154170cea811f5445ffd1571c /lib/jhash.h | |
| parent | 5c6ed111e5ef6e26b1ae8a42da07f4fce3e9567f (diff) | |
Fix arm compilation failures of sockunion_hash issues
Compiling for the arm platform with -Werror for the 9196caf commit
causes it to fail. This commit addresses this issue
Diffstat (limited to 'lib/jhash.h')
| -rw-r--r-- | lib/jhash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jhash.h b/lib/jhash.h index a9807cc388..985ac94e04 100644 --- a/lib/jhash.h +++ b/lib/jhash.h @@ -29,7 +29,7 @@ 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. */ -extern u_int32_t jhash2(u_int32_t *k, u_int32_t length, u_int32_t initval); +extern u_int32_t jhash2(const u_int32_t *k, u_int32_t length, u_int32_t initval); /* A special ultra-optimized versions that knows they are hashing exactly * 3, 2 or 1 word(s). |
