Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libc/gdtoa/hd_init.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- src/lib/libc/gdtoa/hd_init.c 2006/01/25 15:18:48 1.1 +++ src/lib/libc/gdtoa/hd_init.c 2006/01/25 15:27:42 1.2 @@ -1,4 +1,4 @@ -/* $NetBSD: hd_init.c,v 1.1 2006/01/25 15:18:48 kleink Exp $ */ +/* $NetBSD: hd_init.c,v 1.2 2006/01/25 15:27:42 kleink Exp $ */ /**************************************************************** @@ -37,9 +37,9 @@ THIS SOFTWARE. static void #ifdef KR_headers -htinit(h, s, inc) unsigned char *h; unsigned char *s; int inc; +htinit(h, s, inc) unsigned char *h; CONST unsigned char *s; int inc; #else -htinit(unsigned char *h, unsigned char *s, int inc) +htinit(unsigned char *h, CONST unsigned char *s, int inc) #endif { int i, j; @@ -50,7 +50,7 @@ htinit(unsigned char *h, unsigned char * void hexdig_init_D2A(Void) { -#define USC (unsigned char *) +#define USC (CONST unsigned char *) htinit(hexdig, USC "0123456789", 0x10); htinit(hexdig, USC "abcdef", 0x10 + 10); htinit(hexdig, USC "ABCDEF", 0x10 + 10);