aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/make/lst.lib/lstForEach.c
Commit message (Collapse)AuthorAgeFilesLines
* Change a couple of the primitve list functions to be macros. This changesHartmut Brandt2004-11-301-72/+0
| | | | | | | | | the semantic of Lst_Datum which formerly returned NULL when the argument node was NULL. There was only one place in the source that relied on this so change that place. Notes: svn path=/head/; revision=138222
* Use typedefs for the types of the functions that are passed as argumentsHartmut Brandt2004-11-291-1/+1
| | | | | | | | | to the list functions for better readability. Submitted by: Max Okumoto <okumoto@ucsd.edu> Notes: svn path=/head/; revision=138192
* Merge the contents of lstInt.h into the public lst.h. This let's us getHartmut Brandt2004-11-291-1/+2
| | | | | | | | | | 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. Notes: svn path=/head/; revision=138185
* Style: prototypes, un-register and remove some empty lines.Hartmut Brandt2004-11-261-6/+2
| | | | Notes: svn path=/head/; revision=138111
* Use __FBSDID in the lst.lib files, to match to main make(1) files. It isJuli Mallett2002-10-091-1/+1
| | | | | | | | defined to __RCSID when bootstrapping, by the Makefile, but this change is for consistency Notes: svn path=/head/; revision=104694
* remove __PWarner Losh2002-03-221-1/+1
| | | | Notes: svn path=/head/; revision=92921
* There's also no point in #typedef'ing void/char pointers. Accordingly,Will Andrews2000-12-021-2/+2
| | | | | | | | | rip out ClientData/Address pointers and use standard types. Obtained from: OpenBSD Notes: svn path=/head/; revision=69531
* Use __RCSID()Wilfredo Sanchez2000-07-091-2/+3
| | | | Notes: svn path=/head/; revision=62831
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=23006
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* O' to be bitten by CVS. Cleanup after importSteve Price1996-10-081-0/+2
| | | | | | | | | of Christos' version of make(1) and add Id's. Set straight by: Bruce Evans and Peter Wemm :) Notes: svn path=/head/; revision=18804
* Bring in a number of changes from NetBSD's make, fixing quite a fewJordan K. Hubbard1995-01-231-1/+1
| | | | | | | | | | | | | | | problems in the process: 1. Quoting should work properly now. In particular, Chet's reported bash make problem has gone away. 2. A lot of memory that just wasn't being free'd after use is now freed. This should cause make to take up a LOT less memory when dealing with archive targets. 3. Give proper credit to Adam de Boor in a number of files. Obtained from: NetBSD (and Adam de Boor) Notes: svn path=/head/; revision=5814
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-271-0/+72
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590