summaryrefslogtreecommitdiffstats
path: root/usr.bin/cksum/extern.h
Commit message (Collapse)AuthorAgeFilesLines
* More -Wmissing-variable-declarations fixes.ed2012-10-201-0/+3
| | | | | | | | | | In addition to adding missing `static' keywords: - bin/dd: Pull in `extern.h' to guarantee consistency with source file. - libexec/rpc.rusersd: Move shared globals into an extern.h. - libexec/talkd: Move `debug' and `hostname' into extern.h. - usr.bin/cksum: Put counters in extern.h, as they are used by ckdist/mtree. - usr.bin/m4: Move `end_result' into extern.h. - usr.sbin/services_mkdb: Move shared globals into an extern.h.
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-111-4/+0
| | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson
* - 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