summaryrefslogtreecommitdiff
path: root/usr.bin/make/make.h
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2020-09-13 13:50:27 +0000
committerrillig <rillig@NetBSD.org>2020-09-13 13:50:27 +0000
commit2d3dc5e3fa4f3a22f1bf2f9204941e67a3ec0140 (patch)
tree317024640dbff9353dd0222578a27576882198f3 /usr.bin/make/make.h
parentac703db2e55008253a31cc41dc39e650cd4e29ad (diff)
make(1): clean up API for evaluating conditions
There was no need to make struct If publicly visible. There was no need to have parameters in the public API that were passed the same constants all the time. The former function names had not been distinctive.
Diffstat (limited to 'usr.bin/make/make.h')
-rw-r--r--usr.bin/make/make.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/make.h b/usr.bin/make/make.h
index a437a5e628a..01b9eb9ebc3 100644
--- a/usr.bin/make/make.h
+++ b/usr.bin/make/make.h
@@ -1,4 +1,4 @@
-/* $NetBSD: make.h,v 1.140 2020/09/13 06:15:29 rillig Exp $ */
+/* $NetBSD: make.h,v 1.141 2020/09/13 13:50:27 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -378,7 +378,7 @@ typedef struct GNode {
#define PARSE_FATAL 1
/*
- * Values returned by Cond_Eval.
+ * Values returned by Cond_EvalLine and Cond_EvalCondition.
*/
typedef enum {
COND_PARSE, /* Parse the next lines */