summaryrefslogtreecommitdiff
path: root/usr.bin/make/lst.lib/lstFind.c
AgeCommit message (Collapse)Author
2020-07-26make(1): condense the list library into a single filerillig
The list library is only used in make(1). Having it spread out over 28 files made it look more complex than it really is. In fact, it's just a versatile generic data type like in hash.c. Having all the list functions in a single file reduces the code size, both by omitting the many RCS Ids and by inlining commonly used code.
2020-07-03make(1): remove redundant parentheses around return valuerillig
2009-01-23Sprinkle some const.dsl
In particular for Lst_Find() and Lst_FindFrom(). Remove some unneeded casts and some now-undeeded UNCONST().
2009-01-23Change 'ClientData' to 'void *' so that relevant parameters candsl
be made 'const void *'.
2008-12-13Use NULL instead of -1 cast to the relavant type (usually via NIL).dsl
This was a suggestion from christos - so blame him if there is a deep reason for using -1 :-)
2005-02-16PR/29203, PR/29204: Max Okumoto: KNF changes to make [no functional changes]christos
2004-05-07Simplify build, no functional changes.ross
Instead of adding MAKE_BOOTSTRAP for hosted environments, i.e., when you want things simple, instead add MAKE_NATIVE to get those hugely important features like __RCSID(). It's now possible to build make on some hosts with: cc *.c */*.c
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22365, verified by myself.
2002-06-15Remove !__STDC__ stuff, de-__P(), ANSIfy, and de-register.wiz
1997-09-28wrap #include <sys/cdefs.h>, __RCSID(...) stuff in #ifndef MAKE_BOOTSTRAPlukem
1997-07-01Add WARNS=1christos
RCSID police
1996-11-06- Merge in FreeBSD and Lite2 changes.christos
- Fix bug where a non-archive target with a .a suffix would always be considered to be out of date, since it does not have a TOC.
1995-06-14- $NetBSD$ rcsidschristos
- Fixed so that .[A-Z]* targets that do not match keywords are ignored as Posix mandates - Added .PHONY target keyword
1994-06-06Fixes from Christos Zoulas, who used purify, objectcenter and testcenterjtc
to find memory leaks and illegal memory accesses.
1994-03-05fixes/improvements from Christos Zoulas <christos@deshaw.com>.cgd
1993-08-01Add RCS identifiers.mycroft
1993-03-21initial import of 386bsd-0.1 sourcescgd