Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev Protect against multiple inclusion.
details: https://anonhg.NetBSD.org/src/rev/419db54b05bd
branches: trunk
changeset: 357238:419db54b05bd
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Wed Nov 01 19:15:31 2017 +0000
description:
Protect against multiple inclusion.
diffstat:
sys/dev/dkvar.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 336b92584790 -r 419db54b05bd sys/dev/dkvar.h
--- a/sys/dev/dkvar.h Wed Nov 01 17:00:17 2017 +0000
+++ b/sys/dev/dkvar.h Wed Nov 01 19:15:31 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dkvar.h,v 1.29 2017/04/27 17:07:22 jdolecek Exp $ */
+/* $NetBSD: dkvar.h,v 1.30 2017/11/01 19:15:31 mlelstv Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -29,6 +29,9 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef _DEV_DKVAR_H_
+#define _DEV_DKVAR_H_
+
#include <sys/rndsource.h>
struct pathbuf; /* from namei.h */
@@ -108,3 +111,5 @@
void dk_getdefaultlabel(struct dk_softc *, struct disklabel *);
int dk_lookup(struct pathbuf *, struct lwp *, struct vnode **);
+
+#endif /* ! _DEV_DKVAR_H_ */
Home |
Main Index |
Thread Index |
Old Index