summaryrefslogtreecommitdiff
path: root/usr.bin/make/make.h
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2020-11-08 08:33:07 +0000
committerrillig <rillig@NetBSD.org>2020-11-08 08:33:07 +0000
commit400a44e5bf3ddb6a0f241d73c362eff5ededd179 (patch)
treeea1019d93fad1f7f35197da1920abf84c969e186 /usr.bin/make/make.h
parentb15c9760237a9c924081f4fe15d95bbcdd88afe5 (diff)
make(1): rename Make_OODate to GNode_IsOODate
It doesn't matter which of the make modules is in charge of determining whether a node is out-of-date. Therefore, remove the module name from the function name.
Diffstat (limited to 'usr.bin/make/make.h')
-rw-r--r--usr.bin/make/make.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/make/make.h b/usr.bin/make/make.h
index 7707fbb2006..7257fbd29be 100644
--- a/usr.bin/make/make.h
+++ b/usr.bin/make/make.h
@@ -1,4 +1,4 @@
-/* $NetBSD: make.h,v 1.199 2020/11/08 08:26:22 rillig Exp $ */
+/* $NetBSD: make.h,v 1.200 2020/11/08 08:33:07 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -324,7 +324,7 @@ typedef struct GNode {
int unmade; /* The number of unmade children */
/* The modification time; 0 means the node does not have a corresponding
- * file; see Make_OODate. */
+ * file; see GNode_IsOODate. */
time_t mtime;
struct GNode *youngestChild;
@@ -637,7 +637,7 @@ extern CmdOpts opts;
#include "nonints.h"
void GNode_UpdateYoungestChild(GNode *, GNode *);
-Boolean Make_OODate(GNode *);
+Boolean GNode_IsOODate(GNode *);
void Make_ExpandUse(GNodeList *);
time_t Make_Recheck(GNode *);
void Make_HandleUse(GNode *, GNode *);