Xin LI 4c1f1c62ca Cleanup usr.sbin/fd* so they can compile under WARNS=6.
fdcontrol/fdcontrol.c:
	- Add const constraint to an intermediate value
	  which is not supposed to be changed elsewhere.
fdread/fdread.c:
	- Use _devname in favor of devname to avoid name
	  conflicit.
	- -1 is less than any positive number so in order
	  to get the block to function, we should get the
	  block a little earlier.
	- Cast to remove signed when we are sure that a
	  return value is positive, or is compared with
	  an positive number (tracknumber of a floppy
	  disk is not likely to have UINT_MAX/2 anyway)
fdread/fdutil.c:
	- Use more specific initializer
fdwrite/fdwrite.c:
	- Use static on format_track since it's not
	  referenced in other places.
	- Use const char* to represent string constant.

Bump WARNS accordingly.
2005-01-08 15:46:06 +00:00
..
2004-11-03 20:45:52 +00:00
2005-01-01 22:07:06 +00:00
2004-12-21 09:08:06 +00:00
2004-09-17 22:37:45 +00:00
2004-12-14 20:44:37 +00:00
2004-08-13 14:21:49 +00:00
2004-08-30 03:12:49 +00:00
2004-09-01 20:42:38 +00:00
2004-10-01 20:04:20 +00:00
2004-12-21 09:59:45 +00:00
2004-08-07 10:04:29 +00:00
2004-12-21 10:16:04 +00:00
2004-12-21 09:59:45 +00:00
2004-12-21 12:49:24 +00:00
2004-12-21 10:16:04 +00:00
2004-10-18 21:29:20 +00:00
2004-10-22 07:31:12 +00:00
2005-01-07 04:07:48 +00:00
2004-12-21 10:49:29 +00:00
2005-01-07 04:07:48 +00:00
2004-12-21 10:49:29 +00:00
2004-12-21 10:49:29 +00:00
2004-12-21 10:49:29 +00:00
2004-12-21 12:44:20 +00:00
2004-10-19 20:30:09 +00:00
2004-12-21 10:49:29 +00:00