Part #2 of the <machine/ioctl_fd.h> => <sys/fdcio.h> move: handle the
tools in usr.sbin/fd*.
This commit is contained in:
parent
e774b25111
commit
d137c337ae
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=77801
@ -34,8 +34,8 @@ static const char rcsid[] =
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <machine/ioctl_fd.h>
|
|
||||||
#include <sys/file.h>
|
#include <sys/file.h>
|
||||||
|
#include <sys/fdcio.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
getnumber(void)
|
getnumber(void)
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include <machine/ioctl_fd.h>
|
#include <sys/fdcio.h>
|
||||||
|
|
||||||
static void
|
static void
|
||||||
format_track(int fd, int cyl, int secs, int head, int rate,
|
format_track(int fd, int cyl, int secs, int head, int rate,
|
||||||
|
@ -28,8 +28,7 @@
|
|||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
#include <sys/fdcio.h>
|
||||||
#include <machine/ioctl_fd.h>
|
|
||||||
|
|
||||||
#include <err.h>
|
#include <err.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include <machine/ioctl_fd.h>
|
#include <sys/fdcio.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
format_track(int fd, int cyl, int secs, int head, int rate,
|
format_track(int fd, int cyl, int secs, int head, int rate,
|
||||||
|
Loading…
Reference in New Issue
Block a user