summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/lst.lib/lstLast.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/make/lst.lib/lstLast.c')
-rw-r--r--usr.bin/make/lst.lib/lstLast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/lst.lib/lstLast.c b/usr.bin/make/lst.lib/lstLast.c
index 0915dea..cf42237 100644
--- a/usr.bin/make/lst.lib/lstLast.c
+++ b/usr.bin/make/lst.lib/lstLast.c
@@ -54,7 +54,7 @@ __RCSID("$FreeBSD$");
* Return the last node on the list l.
*
* Results:
- * The requested node or NILLNODE if the list is empty.
+ * The requested node or NULL if the list is empty.
*
* Side Effects:
* None.
@@ -66,7 +66,7 @@ Lst_Last (l)
Lst l;
{
if (!LstValid(l) || LstIsEmpty (l)) {
- return (NILLNODE);
+ return (NULL);
} else {
return ((LstNode)((List)l)->lastPtr);
}
OpenPOWER on IntegriCloud