Module Name: src
Committed By: mlelstv
Date: Wed Nov 1 19:15:31 UTC 2017
Modified Files:
src/sys/dev: dkvar.h
Log Message:
Protect against multiple inclusion.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/dkvar.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/dkvar.h
diff -u src/sys/dev/dkvar.h:1.29 src/sys/dev/dkvar.h:1.30
--- src/sys/dev/dkvar.h:1.29 Thu Apr 27 17:07:22 2017
+++ src/sys/dev/dkvar.h Wed Nov 1 19:15:31 2017
@@ -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_getdisklabel(struct dk_softc *,
void dk_getdefaultlabel(struct dk_softc *, struct disklabel *);
int dk_lookup(struct pathbuf *, struct lwp *, struct vnode **);
+
+#endif /* ! _DEV_DKVAR_H_ */