Do not #include <sys/device.h> from userland.
This commit is contained in:
parent
49220e280f
commit
d4f4828ee0
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $NetBSD: mkioctls,v 1.33 2007/06/29 16:39:51 dmcmahill Exp $
|
||||
# $NetBSD: mkioctls,v 1.34 2008/02/11 22:43:39 dyoung Exp $
|
||||
#
|
||||
# Copyright (c) 1994
|
||||
# The Regents of the University of California. All rights reserved.
|
||||
@ -53,7 +53,6 @@ echo "#include <sys/dkbad.h>"
|
||||
echo "#include <sys/mount.h>"
|
||||
echo "#include <sys/termios.h>"
|
||||
echo "#include <sys/disklabel.h>"
|
||||
echo "#include <sys/device.h>"
|
||||
echo "#include <net/if.h>"
|
||||
echo "#include <net/if_ether.h>"
|
||||
echo "#include <net/route.h>"
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: iopctl.c,v 1.15 2007/12/15 16:03:30 perry Exp $ */
|
||||
/* $NetBSD: iopctl.c,v 1.16 2008/02/11 22:45:03 dyoung Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
||||
@ -38,13 +38,12 @@
|
||||
|
||||
#ifndef lint
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: iopctl.c,v 1.15 2007/12/15 16:03:30 perry Exp $");
|
||||
__RCSID("$NetBSD: iopctl.c,v 1.16 2008/02/11 22:45:03 dyoung Exp $");
|
||||
#endif /* not lint */
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/device.h>
|
||||
|
||||
#include <err.h>
|
||||
#include <errno.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pstat.c,v 1.107 2008/02/11 15:22:43 ad Exp $ */
|
||||
/* $NetBSD: pstat.c,v 1.108 2008/02/11 22:45:03 dyoung Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1980, 1991, 1993, 1994
|
||||
@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1991, 1993, 1994\n\
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)pstat.c 8.16 (Berkeley) 5/9/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: pstat.c,v 1.107 2008/02/11 15:22:43 ad Exp $");
|
||||
__RCSID("$NetBSD: pstat.c,v 1.108 2008/02/11 22:45:03 dyoung Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@ -65,7 +65,6 @@ __RCSID("$NetBSD: pstat.c,v 1.107 2008/02/11 15:22:43 ad Exp $");
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/tty.h>
|
||||
#include <sys/conf.h>
|
||||
#include <sys/device.h>
|
||||
|
||||
#include <sys/sysctl.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user