summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/util.h
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of the ReturnStatus obscuration that was anyway used onlyharti2005-05-181-5/+0
| | | | | | | in two places. While here don't bother returning anything from Lst_Replace - nobody ever checks the return code. Suggested by: jmallet
* Use the print_flags function to print the OP_ flags of a target.harti2005-05-131-1/+1
| | | | | Give the function one more argument to decide whether it should print the flags like a C-expression or just space-delimited.
* Move the Boolean and ReturnStatus stuff from sprite.h to util.h andharti2005-05-131-0/+16
| | | | | | get rid of sprite.h. Obtained from: DragonFlyBSD
* Move the MAX macro to a util.h so it becomes usable in other modules.harti2005-03-311-0/+4
| | | | Suggested by: Max Okumoto <okumoto@ucsd.edu>
* Simplify the print routines by using LST_FOREACH instead of Lst_ForEachharti2005-03-111-0/+7
| | | | | | and inlining the small printing utility functions. Create a function that can be used to produce printable representations of flag words.
* Add a debugging function that prints a message and appends theharti2005-03-081-0/+6
| | | | current strerror.
* Mark functions that don't return as dead.harti2005-03-081-4/+4
|
* Move PrintAddr() from util.c into suff.c - the only file where it isharti2005-02-041-1/+0
| | | | | | actuall used, and make it static. Submitted by: Max Okumoto <okumoto@ucsd.edu>
* Make enomem static - it's referenced only in util.c.harti2005-02-021-1/+0
| | | | Submitted by: Max Okumoto <okumoto@ucsd.edu>
* Clean up include files and file including. Split nonints.h into piecesharti2005-02-011-0/+90
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>
OpenPOWER on IntegriCloud