diff options
author | harti <harti@FreeBSD.org> | 2004-11-29 08:38:16 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2004-11-29 08:38:16 +0000 |
commit | d5b4f65a8216257f046436c3c0ac72f8c8099131 (patch) | |
tree | bde3042541b06db5578bb35a6e09b846114bd06c /usr.bin/make/lst.lib/lstFind.c | |
parent | f0a7bdfddcf63921df4dcc4d26441e33dfdf7630 (diff) | |
download | FreeBSD-src-d5b4f65a8216257f046436c3c0ac72f8c8099131.zip FreeBSD-src-d5b4f65a8216257f046436c3c0ac72f8c8099131.tar.gz |
Merge the contents of lstInt.h into the public lst.h. This let's us get
rid of a lot of uneccesary casts and temporary variables that have just
obfuscated the code. This also let's us implement a couple of the one-
liner list functions as macros (the first one is Lst_IsEmpty) and
simplify life once we start to throw consts on the code.
Diffstat (limited to 'usr.bin/make/lst.lib/lstFind.c')
-rw-r--r-- | usr.bin/make/lst.lib/lstFind.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/make/lst.lib/lstFind.c b/usr.bin/make/lst.lib/lstFind.c index 8572847..d27907c 100644 --- a/usr.bin/make/lst.lib/lstFind.c +++ b/usr.bin/make/lst.lib/lstFind.c @@ -46,7 +46,8 @@ __FBSDID("$FreeBSD$"); * Find a node on a list. */ -#include "lstInt.h" +#include "make.h" +#include "lst.h" /*- *----------------------------------------------------------------------- |