summaryrefslogtreecommitdiff
path: root/usr.sbin/lsdev/lsdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/lsdev/lsdev.h')
-rw-r--r--usr.sbin/lsdev/lsdev.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/usr.sbin/lsdev/lsdev.h b/usr.sbin/lsdev/lsdev.h
index acf0d34df004..acaa93cc72f9 100644
--- a/usr.sbin/lsdev/lsdev.h
+++ b/usr.sbin/lsdev/lsdev.h
@@ -1,17 +1,11 @@
/*
* Declarations for lsdev(8).
*/
-#include <sys/types.h>
-#include <sys/param.h>
-#include <sys/time.h>
-#include <sys/proc.h>
-#include <vm/vm.h>
-#include <sys/sysctl.h>
-#include <sys/devconf.h>
-extern const char *const devtypes[]; /* device type array */
-extern void print_config(struct devconf *); /* machine-specific print routine */
-extern void hprint_config(void); /* machine-specific header printer */
+extern const char *const devtypes[]; /* device type array */
extern int vflag;
-extern int findtype(const char *); /* get device type by name */
+int findtype(const char *); /* get device type by name */
+void hprint_config(void); /* machine-specific header printer */
+struct devconf;
+void print_config(struct devconf *); /* machine-specific print routine */