freebsd-dev/sbin/camcontrol
johan 7595263f3a 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
2003-08-05 09:19:07 +00:00
..
camcontrol.8 Add PERIPH and XPT debug options to camcontrol. This makes all CAM debug 2002-12-17 06:05:21 +00:00
camcontrol.c Make this WARNS=6 clean by: 2003-08-05 09:19:07 +00:00
camcontrol.h This is an overhaul of the mode page handling in camcontrol as well as 2000-08-08 06:24:17 +00:00
Makefile Make this WARNS=6 clean by: 2003-08-05 09:19:07 +00:00
modeedit.c Make this WARNS=6 clean by: 2003-08-05 09:19:07 +00:00
util.c Make this WARNS=6 clean by: 2003-08-05 09:19:07 +00:00