aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/make/util.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove old fmake. It wasn't built by default for some time. Users thatWarner Losh2015-06-161-116/+0
| | | | | | | | | | really need it can find it in the devel/fmake port or pkg install fmake. Note: This commit is orthogonal to the question 'can we fmake buildworld'. Differential Revision: https://reviews.freebsd.org/D2840 Notes: svn path=/head/; revision=284464
* Get rid of the ReturnStatus obscuration that was anyway used onlyHartmut Brandt2005-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 Notes: svn path=/head/; revision=146338
* Use the print_flags function to print the OP_ flags of a target.Hartmut Brandt2005-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. Notes: svn path=/head/; revision=146184
* Move the Boolean and ReturnStatus stuff from sprite.h to util.h andHartmut Brandt2005-05-131-0/+16
| | | | | | | | | get rid of sprite.h. Obtained from: DragonFlyBSD Notes: svn path=/head/; revision=146177
* Move the MAX macro to a util.h so it becomes usable in other modules.Hartmut Brandt2005-03-311-0/+4
| | | | | | | Suggested by: Max Okumoto <okumoto@ucsd.edu> Notes: svn path=/head/; revision=144386
* Simplify the print routines by using LST_FOREACH instead of Lst_ForEachHartmut Brandt2005-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. Notes: svn path=/head/; revision=143414
* Add a debugging function that prints a message and appends theHartmut Brandt2005-03-081-0/+6
| | | | | | | current strerror. Notes: svn path=/head/; revision=143278
* Mark functions that don't return as dead.Hartmut Brandt2005-03-081-4/+4
| | | | Notes: svn path=/head/; revision=143277
* Move PrintAddr() from util.c into suff.c - the only file where it isHartmut Brandt2005-02-041-1/+0
| | | | | | | | | actuall used, and make it static. Submitted by: Max Okumoto <okumoto@ucsd.edu> Notes: svn path=/head/; revision=141271
* Make enomem static - it's referenced only in util.c.Hartmut Brandt2005-02-021-1/+0
| | | | | | | Submitted by: Max Okumoto <okumoto@ucsd.edu> Notes: svn path=/head/; revision=141139
* Clean up include files and file including. Split nonints.h into piecesHartmut Brandt2005-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> Notes: svn path=/head/; revision=141104