diff options
Diffstat (limited to 'usr.bin/make/dir.c')
-rw-r--r-- | usr.bin/make/dir.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/make/dir.c b/usr.bin/make/dir.c index 861da594328b..c4ed05048ae6 100644 --- a/usr.bin/make/dir.c +++ b/usr.bin/make/dir.c @@ -189,7 +189,6 @@ static Path *dot; /* contents of current directory */ */ static Hash_Table mtimes; -static int DirFindName(void *, void *); static int DirPrintWord(void *, void *); static int DirPrintDir(void *, void *); @@ -283,10 +282,10 @@ Dir_End(void) *----------------------------------------------------------------------- */ static int -DirFindName(void *p, void *dname) +DirFindName(const void *p, const void *dname) { - return (strcmp(((Path *)p)->name, dname)); + return (strcmp(((const Path *)p)->name, dname)); } /*- |