Date: Sun, 28 Jul 2002 09:05:08 -0700 (PDT) From: David Malone <dwmalone@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/kdump kdump.c Message-ID: <200207281605.g6SG584M040300@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
dwmalone 2002/07/28 09:05:08 PDT
Modified files:
usr.bin/kdump kdump.c
Log:
Improve WARNS situation for kdump:
1) Define _KERNEL while including sys/time.h to get some function prototypes.
2) Add prototypes and ANSIify definitions.
3) Constness changes.
4) Remove register keyword.
5) Actually return a sensible value from main.
6) Make fread_tail take a void * instead of a char *.
7) Avoid a signedness warning by casting to a size_t. Should be safe
enough 'cos we also check for nonnegativity.
8) Be extra chummy with sigset_t rather than passing a struct to printf
and pretending it is an int.
Revision Changes Path
1.19 +58 -45 src/usr.bin/kdump/kdump.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207281605.g6SG584M040300>
