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