diff options
author | will <will@FreeBSD.org> | 2000-12-02 18:58:01 +0000 |
---|---|---|
committer | will <will@FreeBSD.org> | 2000-12-02 18:58:01 +0000 |
commit | 797262c9e92824a19005f56e85cd3f19b8273f9b (patch) | |
tree | 7680565ed1402e4003087d01cf0b545aee3b625e /usr.bin/make/lst.lib/lstDatum.c | |
parent | d04b66b7bc8243e8d0f41b0ec49287b046f7896c (diff) | |
download | FreeBSD-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/lstDatum.c')
-rw-r--r-- | usr.bin/make/lst.lib/lstDatum.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/make/lst.lib/lstDatum.c b/usr.bin/make/lst.lib/lstDatum.c index 1391928..3d2b0cf 100644 --- a/usr.bin/make/lst.lib/lstDatum.c +++ b/usr.bin/make/lst.lib/lstDatum.c @@ -54,7 +54,7 @@ __RCSID("$FreeBSD$"); * Return the datum stored in the given node. * * Results: - * The datum or (ick!) NIL if the node is invalid. + * The datum or (ick!) NULL if the node is invalid. * * Side Effects: * None. @@ -65,10 +65,10 @@ ClientData Lst_Datum (ln) LstNode ln; { - if (ln != NILLNODE) { + if (ln != NULL) { return (((ListNode)ln)->datum); } else { - return ((ClientData) NIL); + return ((ClientData) NULL); } } |