dsl
75469d03e1
Separate out the CRC functions in a manner that actually makes them useful
...
for other program binaries.
Fixes build of 'config' where I added code (commented out) to use the CRC
function - but didn't comment out the #include :-(
2006-09-04 20:01:10 +00:00
simonb
61064aebe6
De-register.
2005-02-05 00:13:34 +00:00
xtraeme
5c1d419d06
* Kill __P()
...
* ANSIfy
* No parenthesis are needed around the return value
2005-01-12 17:04:35 +00:00
jmc
b2f782612f
Completely rework how tools/compat is done. Purge all uses/references to
...
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')
Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).
Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.
Fixes PR's: PR#17762 PR#25944
2004-06-20 22:20:14 +00:00
kleink
4bd5e026a4
Update to keep file lengths in appropriate data types (off_t, as opposed
...
to u_int32_t).
2003-12-20 23:41:38 +00:00
agc
89aaa1bb64
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
bjh21
8088602c68
Protect __RCSID and __COPYRIGHT from being invoked if not defined.
2002-03-31 14:43:22 +00:00
mycroft
201d66a064
Remove calculation of crc_total from here, making the routine approximately
...
twice as fast.
2001-11-10 05:16:43 +00:00
atatat
157a88bcf0
Apparently changing crc() to ccrc() was bad, since mtree does a reachover.
...
Revert ccrc() to crc() and change local variables called crc to thecrc
instead.
2001-03-21 03:16:38 +00:00
atatat
0d2c6226b0
Rename the crc() function to ccrc() since that removes a compiler warning
...
when WARNS=2.
2001-03-20 18:48:10 +00:00
lukem
76da6c89a7
WARNSify
1997-10-17 11:36:51 +00:00
jtc
088d06a21e
use const qualifer for crctab
1996-02-27 21:29:53 +00:00
cgd
a0a5237453
what's the point of having prototypes if they're not actually _used_
...
in the appropriate places? include extern.h in these files, and fix
up the bugs that its inclusion uncovered.
1996-02-27 21:17:25 +00:00
glass
7659edad1f
merged with 4.4Lite
1995-03-26 04:55:22 +00:00
cgd
8020777591
cksum uses 32-bit quantites, internally
1994-12-24 16:02:45 +00:00
cgd
19f1d2d611
update to the latest cksum utility from uunet. this one is posix
...
compliant (i think), and fixes a bogon in the old CRC calculation.
yes, that's right, the CRC's it generates are different.
1993-11-02 07:33:08 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00