summaryrefslogtreecommitdiffstats
path: root/usr.bin/nice/nice.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Delete some useless setlocale(3) calls in /usr/bin, no functional change.schwarze2016-10-281-8/+5
| | | | | | | | Patches from Jan Stary <hans at stare dot cz>, tweaked by me and tb@. While here, apply some simple style improvements: Sort headers, static void __dead usage(), return from main(), zap case '?', drop /* NOTREACHED */, drop break after usage(), ... OK tb@ millert@
* usage() is __dead and main() needs no prototypetb2016-09-041-4/+3
|
* pledge "stdio exec proc" early on, setpriority, then pledge "stdio exec"deraadt2015-10-191-6/+8
| | | | from Theo Buehler
* use strotonumtedu2014-02-131-8/+13
|
* small style fix from jan starytedu2014-02-131-3/+3
|
* this isdigit() needs an unsigned char cast; ok ratchovderaadt2013-11-201-2/+2
|
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-14/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* remove superfluous spaces around brackets in usage.sobrado2009-06-171-3/+3
|
* mostly ansi cleanup; pval okderaadt2003-06-101-6/+4
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-031-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* KNFderaadt2002-06-171-13/+13
|
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-4/+4
|
* remove some unneeded includes; ok millertpvalchev2001-09-161-4/+2
|
* - Add a main() prototype.pvalchev2001-05-241-5/+6
| | | | | - Use __progname in usage(). millert@ ok
* Add __P(). ok deraadt@kevlo2000-11-071-3/+3
|
* rcsidderaadt1996-06-261-1/+2
|
* initial import of NetBSD treederaadt1995-10-181-0/+120