finds.c: constify file

This commit is contained in:
Darryl L. Miles 2025-07-24 14:15:33 +01:00 committed by R. Timothy Edwards
parent 260e08f160
commit dc2de91668
1 changed files with 5 additions and 4 deletions

View File

@ -30,11 +30,11 @@ token(
*/ */
int int
endmatch( endmatch(
char *name, const char *name,
int len, int len,
char *cp) const char *cp)
{ {
char *ep; const char *ep;
ep = cp; ep = cp;
while (*ep++) /* Nothing */; while (*ep++) /* Nothing */;
@ -54,7 +54,8 @@ main(
int argc, int argc,
char *argv[]) char *argv[])
{ {
char line[1024], *name, *cp, *next; char line[1024], *cp, *next;
const char *name;
HashTable ht; HashTable ht;
HashSearch hs; HashSearch hs;
HashEntry *he; HashEntry *he;