=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/m4/look.c,v retrieving revision 1.4 retrieving revision 1.5 diff -c -r1.4 -r1.5 *** src/usr.bin/m4/look.c 1999/09/14 08:35:16 1.4 --- src/usr.bin/m4/look.c 1999/11/17 15:34:13 1.5 *************** *** 1,4 **** ! /* $OpenBSD: look.c,v 1.4 1999/09/14 08:35:16 espie Exp $ */ /* * Copyright (c) 1989, 1993 --- 1,4 ---- ! /* $OpenBSD: look.c,v 1.5 1999/11/17 15:34:13 espie Exp $ */ /* * Copyright (c) 1989, 1993 *************** *** 55,63 **** #include "stdd.h" #include "extern.h" int hash(name) ! char *name; { unsigned long h = 0; while (*name) --- 55,65 ---- #include "stdd.h" #include "extern.h" + static void freent __P((ndptr)); + int hash(name) ! const char *name; { unsigned long h = 0; while (*name) *************** *** 70,76 **** */ ndptr lookup(name) ! char *name; { ndptr p; --- 72,78 ---- */ ndptr lookup(name) ! const char *name; { ndptr p; *************** *** 86,92 **** */ ndptr addent(name) ! char *name; { int h; ndptr p; --- 88,94 ---- */ ndptr addent(name) ! const char *name; { int h; ndptr p; *************** *** 116,122 **** */ void remhash(name, all) ! char *name; int all; { int h; --- 118,124 ---- */ void remhash(name, all) ! const char *name; int all; { int h;