summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mlxcontrol
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2000-04-11 23:04:17 +0000
committermsmith <msmith@FreeBSD.org>2000-04-11 23:04:17 +0000
commitd4a38fd2058b228d30ff80d49c58853f7a1a97c1 (patch)
treec84f7fe57a57baa532a9ad9405e30901e0f19e9f /usr.sbin/mlxcontrol
parent8147b5ec951c7f1eb7f7c4fad1bc33a1062247a0 (diff)
downloadFreeBSD-src-d4a38fd2058b228d30ff80d49c58853f7a1a97c1.zip
FreeBSD-src-d4a38fd2058b228d30ff80d49c58853f7a1a97c1.tar.gz
Unhook headers from development tree and point to the actual system headers.
Diffstat (limited to 'usr.sbin/mlxcontrol')
-rw-r--r--usr.sbin/mlxcontrol/Makefile1
-rw-r--r--usr.sbin/mlxcontrol/command.c9
-rw-r--r--usr.sbin/mlxcontrol/config.c9
-rw-r--r--usr.sbin/mlxcontrol/interface.c9
-rw-r--r--usr.sbin/mlxcontrol/util.c9
5 files changed, 9 insertions, 28 deletions
diff --git a/usr.sbin/mlxcontrol/Makefile b/usr.sbin/mlxcontrol/Makefile
index 3c16b51..2c79bfb 100644
--- a/usr.sbin/mlxcontrol/Makefile
+++ b/usr.sbin/mlxcontrol/Makefile
@@ -3,6 +3,7 @@
PROG= mlxcontrol
SRCS= command.c config.c interface.c util.c
MAN8= mlxcontrol.8
+CFLAGS+= -I${.CURDIR}/../../sys
.include <bsd.prog.mk>
diff --git a/usr.sbin/mlxcontrol/command.c b/usr.sbin/mlxcontrol/command.c
index 507f75a..a364767 100644
--- a/usr.sbin/mlxcontrol/command.c
+++ b/usr.sbin/mlxcontrol/command.c
@@ -34,13 +34,8 @@
#include <unistd.h>
#include <err.h>
-#if 0
-#include <sys/mlxio.h>
-#include <sys/mlxreg.h>
-#else
-#include "../sys/dev/mlx/mlxio.h"
-#include "../sys/dev/mlx/mlxreg.h"
-#endif
+#include <dev/mlx/mlxio.h>
+#include <dev/mlx/mlxreg.h>
#include "mlxcontrol.h"
diff --git a/usr.sbin/mlxcontrol/config.c b/usr.sbin/mlxcontrol/config.c
index 3f5ba59..a525658 100644
--- a/usr.sbin/mlxcontrol/config.c
+++ b/usr.sbin/mlxcontrol/config.c
@@ -34,13 +34,8 @@
#include <unistd.h>
#include <err.h>
-#if 0
-#include <sys/mlxio.h>
-#include <sys/mlxreg.h>
-#else
-#include "../sys/dev/mlx/mlxio.h"
-#include "../sys/dev/mlx/mlxreg.h"
-#endif
+#include <dev/mlx/mlxio.h>
+#include <dev/mlx/mlxreg.h>
#include "mlxcontrol.h"
diff --git a/usr.sbin/mlxcontrol/interface.c b/usr.sbin/mlxcontrol/interface.c
index a2c5dfa..5cbf7b6 100644
--- a/usr.sbin/mlxcontrol/interface.c
+++ b/usr.sbin/mlxcontrol/interface.c
@@ -33,13 +33,8 @@
#include <string.h>
#include <cam/scsi/scsi_all.h>
-#if 0
-#include <sys/mlxio.h>
-#include <sys/mlxreg.h>
-#else
-#include "../sys/dev/mlx/mlxio.h"
-#include "../sys/dev/mlx/mlxreg.h"
-#endif
+#include <dev/mlx/mlxio.h>
+#include <dev/mlx/mlxreg.h>
#include "mlxcontrol.h"
diff --git a/usr.sbin/mlxcontrol/util.c b/usr.sbin/mlxcontrol/util.c
index 9431a20..37cd2b7 100644
--- a/usr.sbin/mlxcontrol/util.c
+++ b/usr.sbin/mlxcontrol/util.c
@@ -31,13 +31,8 @@
#include <paths.h>
#include <string.h>
-#if 0
-#include <sys/mlxio.h>
-#include <sys/mlxreg.h>
-#else
-#include "../sys/dev/mlx/mlxio.h"
-#include "../sys/dev/mlx/mlxreg.h"
-#endif
+#include <dev/mlx/mlxio.h>
+#include <dev/mlx/mlxreg.h>
#include "mlxcontrol.h"
OpenPOWER on IntegriCloud