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-08-07 04:19:37 +00:00
2005-01-03 04:14:05 +00:00
2004-09-23 13:09:42 +00:00
2004-11-13 20:40:32 +00:00
2004-11-03 20:45:52 +00:00
2005-01-01 22:07:06 +00:00
2004-12-24 22:16:38 +00:00
2005-01-05 18:37:37 +00:00
2004-12-18 11:04:10 +00:00
2004-12-21 08:47:35 +00:00
2004-12-21 09:08:06 +00:00
2004-12-21 14:57:37 +00:00
2004-08-07 04:19:37 +00:00
2004-08-07 04:19:37 +00:00
2004-12-16 09:52:41 +00:00
2004-11-03 18:01:21 +00:00
2004-12-21 08:47:35 +00:00
2004-12-21 08:47:35 +00:00
2004-09-26 12:46:47 +00:00
2004-11-09 12:28:41 +00:00
2004-09-24 13:42:00 +00:00
2004-09-24 13:42:00 +00:00
2004-08-07 04:28:56 +00:00
2004-08-15 20:18:54 +00:00
2005-01-08 15:46:06 +00:00
2005-01-08 15:46:06 +00:00
2005-01-08 15:46:06 +00:00
2005-01-08 15:46:06 +00:00
2004-09-17 22:37:45 +00:00
2004-12-14 20:44:37 +00:00
2005-01-05 18:41:54 +00:00
2004-08-13 14:21:49 +00:00
2004-09-13 08:14:55 +00:00
2004-09-26 13:47:25 +00:00
2004-08-07 04:19:37 +00:00
2004-11-17 10:01:48 +00:00
2005-01-08 06:02:56 +00:00
2004-08-07 04:28:56 +00:00
2004-08-06 07:27:08 +00:00
2004-08-30 03:12:49 +00:00
2004-09-01 20:42:38 +00:00
2004-08-28 19:31:10 +00:00
2004-12-31 00:36:28 +00:00
2004-10-01 20:04:20 +00:00
2004-10-18 17:20:29 +00:00
2005-01-07 12:06:30 +00:00
2004-10-02 16:42:33 +00:00
2004-08-07 04:28:56 +00:00
2004-12-21 09:59:45 +00:00
2004-12-11 12:51:20 +00:00
2005-01-06 08:38:29 +00:00
2004-12-21 08:47:35 +00:00
2004-08-07 10:04:29 +00:00
2004-09-27 03:55:03 +00:00
2004-09-26 06:36:11 +00:00
2004-09-24 13:42:00 +00:00
2004-09-21 19:01:48 +00:00
2004-09-26 09:25:03 +00:00
2004-08-07 04:28:56 +00:00
2005-01-04 02:24:01 +00:00
2004-11-06 18:15:44 +00:00
2004-11-25 09:27:56 +00:00
2005-01-04 20:07:12 +00:00
2004-12-21 10:16:04 +00:00
2004-12-21 09:59:45 +00:00
2004-08-07 16:36:46 +00:00
2004-12-21 08:47:35 +00:00
2005-01-04 17:13:16 +00:00
2004-12-21 12:49:24 +00:00
2004-12-13 14:50:13 +00:00
2004-12-21 10:16:04 +00:00
2004-11-27 06:51:39 +00:00
2004-10-03 14:40:27 +00:00
2004-08-07 04:28:56 +00:00
2004-08-07 04:28:56 +00:00
2004-08-07 04:28:56 +00:00
2004-12-19 18:02:45 +00:00
2004-08-07 04:28:56 +00:00
2004-09-27 03:55:03 +00:00
2004-09-26 06:36:11 +00:00
2004-12-06 08:32:09 +00:00
2004-10-18 21:29:20 +00:00
2004-12-21 08:47:35 +00:00
2004-11-07 04:34:37 +00:00
2004-10-02 16:42:33 +00:00
2004-10-22 07:31:12 +00:00
2004-08-07 04:28:56 +00:00
2005-01-07 04:07:48 +00:00
2004-12-21 10:49:29 +00:00
2004-10-02 18:51:37 +00:00
2004-11-03 18:01:21 +00:00
2004-08-07 04:28:56 +00:00
2004-09-26 09:25:03 +00:00
2005-01-07 04:07:48 +00:00
2004-12-28 22:25:04 +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-08-07 04:28:56 +00:00
2004-08-10 05:34:23 +00:00
2004-10-21 11:22:07 +00:00
2005-01-04 06:45:41 +00:00
2004-08-07 04:28:56 +00:00
2004-12-21 08:47:35 +00:00
2004-08-10 01:49:46 +00:00
2004-07-28 22:13:04 +00:00
2004-10-17 21:29:53 +00:00
2004-10-17 19:33:33 +00:00
2004-10-17 19:33:33 +00:00
2004-10-18 21:42:15 +00:00
2004-10-17 19:33:33 +00:00
2004-10-19 20:30:09 +00:00
2004-12-21 10:49:29 +00:00