summaryrefslogtreecommitdiff
path: root/usr.bin/make/parse.c
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2020-11-28 22:13:56 +0000
committerrillig <rillig@NetBSD.org>2020-11-28 22:13:56 +0000
commite33269608f7586521ca0cdc7d9130708fddbac4b (patch)
treece4bf14d772161849e01569106b0c1830a57f104 /usr.bin/make/parse.c
parent52f2b364648e2ab7ce26928be2e0a5f30b3e5db5 (diff)
make(1): rename some Dir functions to SearchPath
These functions have the search path as their main subject.
Diffstat (limited to 'usr.bin/make/parse.c')
-rw-r--r--usr.bin/make/parse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c
index 86c52c08db0..bf2cff8f33e 100644
--- a/usr.bin/make/parse.c
+++ b/usr.bin/make/parse.c
@@ -1,4 +1,4 @@
-/* $NetBSD: parse.c,v 1.457 2020/11/28 19:20:03 rillig Exp $ */
+/* $NetBSD: parse.c,v 1.458 2020/11/28 22:13:56 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -117,7 +117,7 @@
#include "pathnames.h"
/* "@(#)parse.c 8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: parse.c,v 1.457 2020/11/28 19:20:03 rillig Exp $");
+MAKE_RCSID("$NetBSD: parse.c,v 1.458 2020/11/28 22:13:56 rillig Exp $");
/* types and constants */
@@ -1312,7 +1312,7 @@ ClearPaths(SearchPathList *paths)
if (paths != NULL) {
SearchPathListNode *ln;
for (ln = paths->first; ln != NULL; ln = ln->next)
- Dir_ClearPath(ln->datum);
+ SearchPath_Clear(ln->datum);
}
Dir_SetPATH();