summaryrefslogtreecommitdiffstats
path: root/usr.bin/cmp/special.c
Commit message (Collapse)AuthorAgeFilesLines
* Style improvements recommended by Bruce as a follow up to somedwmalone2001-12-101-5/+6
| | | | | | | | of the recent WARNS commits. The idea is: 1) FreeBSD id tags should follow vendor tags. 2) Vendor tags should not be compiled (though copyrights probably should). 3) There should be no blank line between including cdefs and __FBSDIF.
* Cast off_t to long long before printing. Use %ll instead of %q incasedwmalone2001-12-031-1/+2
| | | | long long and quad_t are not the same.
* Turn on WARNS=2.markm2001-12-021-4/+5
| | | | Use __FBSDID().
* Make filenames const to avoid a few warnings.dwmalone2001-11-051-1/+4
| | | | | | Add FreeBSD tags. Reviewed by: cmp
* More egcs warning fixes:imp1999-04-251-2/+4
| | | | | | | | | | o main returns int not void o use return 0 at end of main when needed o use braces to avoid potentially ambiguous else o don't default to type int o #ifdef 0 -> #if 0 Reviewed by: obrien and chuckr
* Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).archie1998-12-061-1/+1
|
* Our mmap(2) has a limitation where the `offset' parameter must bejoerg1997-01-081-1/+1
| | | | | | | page-aligned. cmp(1) should know about this flaw, and work around it. While i was at it, fixed an uninitialized variable as reported by -Wall.
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+99
OpenPOWER on IntegriCloud