patch-2.4.26 linux-2.4.26/include/linux/jhash.h
Next file: linux-2.4.26/include/linux/lockd/debug.h
Previous file: linux-2.4.26/include/linux/init.h
Back to the patch index
Back to the overall index
-  Lines: 13
-  Date:
2004-04-14 06:05:40.000000000 -0700
-  Orig file: 
linux-2.4.25/include/linux/jhash.h
-  Orig date: 
2003-06-13 07:51:38.000000000 -0700
diff -urN linux-2.4.25/include/linux/jhash.h linux-2.4.26/include/linux/jhash.h
@@ -41,10 +41,10 @@
  * of bytes.  No alignment or length assumptions are made about
  * the input key.
  */
-static inline u32 jhash(void *key, u32 length, u32 initval)
+static inline u32 jhash(const void *key, u32 length, u32 initval)
 {
 	u32 a, b, c, len;
-	u8 *k = key;
+	const u8 *k = key;
 
 	len = length;
 	a = b = JHASH_GOLDEN_RATIO;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)