summaryrefslogtreecommitdiffstats
path: root/usr.bin/mt/mt.c
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2002-07-28 16:05:07 +0000
committerdwmalone <dwmalone@FreeBSD.org>2002-07-28 16:05:07 +0000
commit4233e58352f2f7055355b7fa771c710788e9f864 (patch)
tree6ccd0149407a9c8d3ba258cc10e58dbc60d254f2 /usr.bin/mt/mt.c
parent99cfb0b9e98b83a041ad0e917abebdeab40d958b (diff)
downloadFreeBSD-src-4233e58352f2f7055355b7fa771c710788e9f864.zip
FreeBSD-src-4233e58352f2f7055355b7fa771c710788e9f864.tar.gz
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.
Diffstat (limited to 'usr.bin/mt/mt.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud