summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/lst.lib/lstOpen.c
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of the sequential access feature of the lists. This was usedharti2004-12-081-83/+0
| | | | | | | | only in a couple of places and all of them except for one were easily converted to use Lst_First/Lst_Succ. The one place is compatibility mode in job.c where the it was used to advance to the next command on each invocation of JobStart. For this case add a pointer to the node to hold the currently executed command.
* Typedefs of pointers to structs are evil. Make Lst and LstNode typedef ofharti2004-12-071-1/+1
| | | | | | the structs itself not of pointers to them. This will simplify constification. Checked by: diff on the object files
* Make needs no circular lists so remove them from the list code.harti2004-12-071-2/+1
|
* Stylification: missing spaces, extra space after function names, castsharti2004-11-301-2/+2
| | | | | | | | and the sizeof operator, missing empty lines, void casts, extra empty lines. Checked by: diff on make *.o lst.lib/*.o Submitted by: Max Okumoto <okumoto@soe.ucsd.edu> (partly)
* Merge the contents of lstInt.h into the public lst.h. This let's us getharti2004-11-291-5/+6
| | | | | | | 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.
* Style: prototypes, un-register and remove some empty lines.harti2004-11-261-3/+2
|
* Use __FBSDID in the lst.lib files, to match to main make(1) files. It isjmallett2002-10-091-1/+1
| | | | | defined to __RCSID when bootstrapping, by the Makefile, but this change is for consistency
* There's no reason to use fancy forms of NULL. Replace all instanceswill2000-12-021-2/+2
| | | | | | of NIL, NILLST, NILLGNODE, etc. with NULL. Obtained from: OpenBSD
* Use __RCSID()wsanchez2000-07-091-2/+3
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* O' to be bitten by CVS. Cleanup after importsteve1996-10-081-6/+2
| | | | | | of Christos' version of make(1) and add Id's. Set straight by: Bruce Evans and Peter Wemm :)
* Import Christos Zoulas' version of NetBSD's make onto thesteve1996-10-061-1/+7
| | | | | | vendor branch for reference. Obtained from: Christos Zoulas <christos@netbsd.org>
* Import the 4.4BSD-Lite2 version of make onto the vendor branchpeter1996-10-061-1/+1
| | | | | "for reference". This doesn't change anything since all files have been touched.
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+81
OpenPOWER on IntegriCloud