summaryrefslogtreecommitdiffstats
path: root/usr.sbin/fdformat
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1994-09-25 18:44:26 +0000
committerjoerg <joerg@FreeBSD.org>1994-09-25 18:44:26 +0000
commit3346279530bc82ada4f70172db34ce0ddbb269bf (patch)
treea1684f36b775a748a959127ee186919e37af6292 /usr.sbin/fdformat
parent4e6658ed0d7b88694103f615db2badff5b9701a5 (diff)
downloadFreeBSD-src-3346279530bc82ada4f70172db34ce0ddbb269bf.zip
FreeBSD-src-3346279530bc82ada4f70172db34ce0ddbb269bf.tar.gz
Transfer speed definitions are now also found in <machine/ioctl_fd.h>.
Remove the old include file, since it used to be in a non-public place.
Diffstat (limited to 'usr.sbin/fdformat')
-rw-r--r--usr.sbin/fdformat/Makefile2
-rw-r--r--usr.sbin/fdformat/fdformat.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/fdformat/Makefile b/usr.sbin/fdformat/Makefile
index 5325b6a..e489ebc 100644
--- a/usr.sbin/fdformat/Makefile
+++ b/usr.sbin/fdformat/Makefile
@@ -4,6 +4,6 @@ PROG = fdformat
# the -I's seem to be confusing, but necessery this way
# (so the right <unistd.h> will be found in /usr/include, and the
# "../i386/isa/ic/nec765.h" included from fdreg.h is accessible, too)
-CFLAGS+= -Wall -I${DESTDIR}/sys
+CFLAGS+= -Wall
.include <bsd.prog.mk>
diff --git a/usr.sbin/fdformat/fdformat.c b/usr.sbin/fdformat/fdformat.c
index c8844db..b43af82 100644
--- a/usr.sbin/fdformat/fdformat.c
+++ b/usr.sbin/fdformat/fdformat.c
@@ -47,7 +47,6 @@
#include <errno.h>
#include <machine/ioctl_fd.h>
-#include <i386/isa/fdreg.h> /* XXX should be in <machine> dir */
static void
format_track(int fd, int cyl, int secs, int head, int rate,
OpenPOWER on IntegriCloud