summaryrefslogtreecommitdiffstats
path: root/usr.bin/cksum/sum1.c
Commit message (Collapse)AuthorAgeFilesLines
* - For variables holding offset values, use off_t rather thanrobert2003-03-131-4/+7
| | | | | | | | | | | | | | | | int, long int or u_int32_t. This changes the interface of all the CRC calculation and output functions from cksum. - Print variables of type off_t as intmax_t using a cast and %jd. - Use the standardized uint32_t type instead of u_int32_t. To have uint32_t defined, include <stdint.h> where necessary. Style(9): - Move #include directives where they belong (esp. crc32.c). - Add empty lines between #include directives of system headers, standard library headers and local headers. - Test a pointer value against NULL. - Put a space after the return keyword. PR: bin/48424
* ANSIify function definitions to avoid a warning.dwmalone2002-07-281-3/+1
|
* Consistently use FBSDIDobrien2002-06-301-2/+2
|
* WARNS=2 fixup.markm2001-12-021-10/+12
| | | | kill 'register' keyword.
* Minimal use of .Ar and .Nm.charnier1999-12-051-1/+5
| | | | | | | | Add section number to .Xr reference. Add DIAGNOSTICS section name. Remove unused #includes. Be consistant in the parsing of flags and add missing option in usage string. Add rcsid.
* Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).archie1998-12-061-1/+1
|
* cksum does a 32-bit checksum, so it needs to use u_int32_t variables,jb1998-03-101-2/+2
| | | | | not u_long. With this change, cksum stops core dumping on alpha (not a good sign!) and actually computes the same values as it does on i386.
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+69
OpenPOWER on IntegriCloud