Subject: CVS commit: src/usr.bin/whois
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 10/09/2003 15:32:37
Module Name:	src
Committed By:	christos
Date:		Thu Oct  9 15:32:37 UTC 2003

Modified Files:
	src/usr.bin/whois: Makefile whois.c

Log Message:
- enable WARNS 2
- delint (void casts, shadow warning on port)
- always cast to unsigned char for isfoo() macros, not sometimes.
- save errno to avoid reporting random error value.
- use warnx() when the error is indeed unknown.
- use getprogname() instead of __progname.
- make all locals static.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/usr.bin/whois/Makefile
cvs rdiff -r1.22 -r1.23 src/usr.bin/whois/whois.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.