Protect multiple inclusion.
This commit is contained in:
parent
f45a8c29f5
commit
e2cb3fd64f
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: md.h,v 1.10 2009/10/21 23:12:10 snj Exp $ */
|
/* $NetBSD: md.h,v 1.11 2009/12/14 03:11:22 uebayasi Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1995 Gordon W. Ross
|
* Copyright (c) 1995 Gordon W. Ross
|
||||||
|
@ -25,6 +25,9 @@
|
||||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef _SYS_DEV_MD_H_
|
||||||
|
#define _SYS_DEV_MD_H_
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Memory-disk ioctl functions:
|
* Memory-disk ioctl functions:
|
||||||
*/
|
*/
|
||||||
|
@ -86,3 +89,5 @@ extern void md_root_setconf(char *, size_t);
|
||||||
|
|
||||||
extern int md_is_root;
|
extern int md_is_root;
|
||||||
#endif /* _KERNEL */
|
#endif /* _KERNEL */
|
||||||
|
|
||||||
|
#endif /* _SYS_DEV_MD_H_ */
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: vndvar.h,v 1.25 2009/12/06 16:33:18 dsl Exp $ */
|
/* $NetBSD: vndvar.h,v 1.26 2009/12/14 03:11:22 uebayasi Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
|
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
|
||||||
|
@ -106,6 +106,9 @@
|
||||||
* @(#)vnioctl.h 8.1 (Berkeley) 6/10/93
|
* @(#)vnioctl.h 8.1 (Berkeley) 6/10/93
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef _SYS_DEV_VNDVAR_H_
|
||||||
|
#define _SYS_DEV_VNDVAR_H_
|
||||||
|
|
||||||
#include <sys/pool.h>
|
#include <sys/pool.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -220,3 +223,5 @@ struct vnd_user {
|
||||||
offsetof(struct vnd_ioctl, vnd_size))
|
offsetof(struct vnd_ioctl, vnd_size))
|
||||||
#define VNDIOOCCLR _IOC(IOC_IN, 'F', 1, \
|
#define VNDIOOCCLR _IOC(IOC_IN, 'F', 1, \
|
||||||
offsetof(struct vnd_ioctl, vnd_size))
|
offsetof(struct vnd_ioctl, vnd_size))
|
||||||
|
|
||||||
|
#endif /* _SYS_DEV_VNDVAR_H_ */
|
||||||
|
|
Loading…
Reference in New Issue