summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/lst.lib/lstFirst.c
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-12-02 18:58:01 +0000
committerwill <will@FreeBSD.org>2000-12-02 18:58:01 +0000
commit797262c9e92824a19005f56e85cd3f19b8273f9b (patch)
tree7680565ed1402e4003087d01cf0b545aee3b625e /usr.bin/make/lst.lib/lstFirst.c
parentd04b66b7bc8243e8d0f41b0ec49287b046f7896c (diff)
downloadFreeBSD-src-797262c9e92824a19005f56e85cd3f19b8273f9b.zip
FreeBSD-src-797262c9e92824a19005f56e85cd3f19b8273f9b.tar.gz
There's no reason to use fancy forms of NULL. Replace all instances
of NIL, NILLST, NILLGNODE, etc. with NULL. Obtained from: OpenBSD
Diffstat (limited to 'usr.bin/make/lst.lib/lstFirst.c')
-rw-r--r--usr.bin/make/lst.lib/lstFirst.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/lst.lib/lstFirst.c b/usr.bin/make/lst.lib/lstFirst.c
index 96d6e1b..560a4b1 100644
--- a/usr.bin/make/lst.lib/lstFirst.c
+++ b/usr.bin/make/lst.lib/lstFirst.c
@@ -54,7 +54,7 @@ __RCSID("$FreeBSD$");
* Return the first node on the given list.
*
* Results:
- * The first node or NILLNODE if the list is empty.
+ * The first node or NULL if the list is empty.
*
* Side Effects:
* None.
@@ -66,7 +66,7 @@ Lst_First (l)
Lst l;
{
if (!LstValid (l) || LstIsEmpty (l)) {
- return (NILLNODE);
+ return (NULL);
} else {
return ((LstNode)((List)l)->firstPtr);
}
OpenPOWER on IntegriCloud