summaryrefslogtreecommitdiffstats
path: root/usr.bin/cksum/extern.h
Commit message (Collapse)AuthorAgeFilesLines
* - For variables holding offset values, use off_t rather thanrobert2003-03-131-7/+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
* remove __Pimp2002-03-221-7/+7
|
* WARNS=2 fixup.markm2001-12-021-0/+1
| | | | kill 'register' keyword.
* cksum does a 32-bit checksum, so it needs to use u_int32_t variables,jb1998-03-101-7/+7
| | | | | 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.
* Add canonical 32bit crc as alorithm 3.phk1997-09-261-0/+1
| | | | | | PR: 4615 Reviewed by: phk Submitted by: Mike Meyer <mwm@shiva.the-park.com>
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+45
OpenPOWER on IntegriCloud