diff options
author | johan <johan@FreeBSD.org> | 2003-08-05 09:19:07 +0000 |
---|---|---|
committer | johan <johan@FreeBSD.org> | 2003-08-05 09:19:07 +0000 |
commit | 058c938f4b892b98c001722198b1e819e18af1d4 (patch) | |
tree | 5f009a8be2fda0bf2a6970701dc01c1ff9ee4acb /gnu | |
parent | 2722e0638f8c072f57ae45c6be7bf0d9e6e57b2b (diff) | |
download | FreeBSD-src-058c938f4b892b98c001722198b1e819e18af1d4.zip FreeBSD-src-058c938f4b892b98c001722198b1e819e18af1d4.tar.gz |
Make this WARNS=6 clean by:
1: add 'const' to char * where needed;
2: mark unused variables with __unused;
3: remove double prototypes for mode_edit and mode_list.
4: moves the global variables 'bus', 'target', and 'lun' into
the main function and protect them with #ifndef MINIMALISTIC,
5: renames 3 variable in order not to shadow other things
index -> indx -- in modepage_dump since index is a function
from <strings.h.>
arglist -> arglst -- in the function parse_btl since arglist
is also a global variable
convertend -> convertend2 -- in the function editentry_set
since that name is used two times within the function.
6: cast 0xffffffff in the macro RESOLUTION_MAX(size) to (int)
since it is unsigned otherwise.
Tested by: make universe
Approved by: ken
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions