summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/lst.lib/lstForEachFrom.c
Commit message (Collapse)AuthorAgeFilesLines
* Move all the remaining list functions into one C-file and removeharti2005-02-011-111/+0
| | | | | | | double documentation comments. Remove the 3rd clause (from 4) of the BSD license because these files have only the UCB copyright. Submitted by: Max Okumoto <okumoto@ucsd.edu>
* Clean up include files and file including. Split nonints.h into piecesharti2005-02-011-0/+4
| | | | | | | | | | | | | that get included just where they are needed. All headers include the headers that they need to compile (just with an empty .c file). Sort includes alphabetically where apropriate and fix some duplicate commenting for struct Job, struct GNode and struct Shell by removing one version and inlining the comments into the structure declaration (the comments have been somewhat outdated). This patch does not contain functional changes (checked with md5). Submitted by: Max Okumoto <okumoto@ucsd.edu>
* Typedefs of pointers to structs are evil. Make Lst and LstNode typedef ofharti2004-12-071-2/+2
| | | | | | the structs itself not of pointers to them. This will simplify constification. Checked by: diff on the object files
* Stylification: missing spaces, extra space after function names, castsharti2004-11-301-4/+4
| | | | | | | | 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)
* Use typedefs for the types of the functions that are passed as argumentsharti2004-11-291-1/+1
| | | | | | to the list functions for better readability. Submitted by: Max Okumoto <okumoto@ucsd.edu>
* Merge the contents of lstInt.h into the public lst.h. This let's us getharti2004-11-291-16/+15
| | | | | | | 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-13/+6
|
* 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
* remove __Pimp2002-03-221-1/+1
|
* There's also no point in #typedef'ing void/char pointers. Accordingly,will2000-12-021-2/+2
| | | | | | rip out ClientData/Address pointers and use standard types. Obtained from: OpenBSD
* There's no reason to use fancy forms of NULL. Replace all instanceswill2000-12-021-1/+1
| | | | | | 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-0/+2
| | | | | | of Christos' version of make(1) and add Id's. Set straight by: Bruce Evans and Peter Wemm :)
* Merge in NetBSD's changes to make(1). Changes include:steve1996-10-061-1/+2
| | | | | | | | | | | | | | | | - Add the .PHONY, .PARALLEL, and .WAIT directives - Added the -B and -m commandline flags - misc. man page cleanups - numerous job-related enhancements - removed unused header file (bit.h) - add util.c for functions not found in other envs. - and a few coordinated whitespace changes Special thanks to Christos Zoulas <christos@netbsd.org> for help in the merge. A 'diff -ur' between Net and FreeBSD now only contains sccsid-related diffs. :) Obtained from: NetBSD, christos@netbsd.org, and me
* Remove trailing whitespace.rgrimes1995-05-301-7/+7
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+111
OpenPOWER on IntegriCloud