diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2002-07-28 16:05:07 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2002-07-28 16:05:07 +0000 |
commit | 4233e58352f2f7055355b7fa771c710788e9f864 (patch) | |
tree | 6ccd0149407a9c8d3ba258cc10e58dbc60d254f2 /usr.bin/mt/mt.c | |
parent | 99cfb0b9e98b83a041ad0e917abebdeab40d958b (diff) | |
download | FreeBSD-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