summaryrefslogtreecommitdiffstats
path: root/usr.bin/pr/egetopt.c
Commit message (Collapse)AuthorAgeFilesLines
* Make pr build with WARNS=6.ed2010-02-261-0/+2
|
* egetopt.c does not use any stdlib.h definations, nor it referenced anydelphij2009-12-131-3/+0
| | | | | | symbol from other module, so remove reference of stdlib.h and extern.h. Verified with: md5(1)
* Revert most part of 200420 as requested, as more review and polish isdelphij2009-12-131-0/+3
| | | | needed.
* Remove unneeded header includes from usr.bin/ except contributed code.delphij2009-12-111-3/+0
| | | | Tested with: make universe
* Make egetopt() return -1 not EOF, as getopt(3) do.charnier2002-06-231-4/+4
| | | | Reviewed by:markm
* Modernise this code by rounding up the usual suspects: register keyword,markm2002-06-211-13/+16
| | | | | | consts, ANSIfication of functions, proper use of __FBSDID() and so on. This commit is non-functional from a code-execution perspective, but pr(1) now compiles WARNS=6 clean.
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+215
OpenPOWER on IntegriCloud