Commit Graph

10 Commits

Author SHA1 Message Date
christos 8225aca082 fix 64 bit time_t 2008-12-29 00:51:29 +00:00
elad eee731374f Fix some lint warnings. 2005-08-24 19:44:45 +00:00
xtraeme 691a36f2ea whitespace, remove main() prototype. 2005-01-20 15:44:59 +00:00
xtraeme ea13a7dd7d ANSIfy another function missed in previous. 2005-01-12 17:10:05 +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
bjh21 8088602c68 Protect __RCSID and __COPYRIGHT from being invoked if not defined. 2002-03-31 14:43:22 +00:00
atatat 61e4caef25 Add MD2, MD4, SHA1, and RMD160 support to cksum. Adding new hashes to
cksum(1) should now be easy.
2001-03-20 18:46:25 +00:00
lukem 76da6c89a7 WARNSify 1997-10-17 11:36:51 +00:00
thorpej 0941c04d45 Add support for generating MD5 checksums, partially derived from the
FreeBSD md5(1) program.  MD5 checksums may be generated by using the
"-m" flag to cksum, or by invoking this program as "md5".
1997-01-30 01:10:32 +00:00