? Makefile ? hash.c ? hash.h.0.patch Index: hash.h =================================================================== RCS file: /home/ncvs/src/sys/sys/hash.h,v retrieving revision 1.2 diff -u -r1.2 hash.h --- hash.h 12 Mar 2006 15:34:33 -0000 1.2 +++ hash.h 11 Oct 2006 08:54:53 -0000 @@ -28,7 +28,8 @@ #ifndef _SYS_HASH_H_ #define _SYS_HASH_H_ -#include + +#include /* Convenience */ #ifndef HASHINIT @@ -94,7 +95,7 @@ hash = HASHSTEP(hash, *p++); if (ep) - *ep = (char *)p; + *ep = __DECONST(char *, p); return hash; } @@ -113,7 +114,7 @@ hash = HASHSTEP(hash, *p++); if (ep) - *ep = (char *)p; + *ep = __DECONST(char *, p); return hash; }