Protect against multiple inclusion.

This commit is contained in:
mlelstv 2017-11-01 19:15:31 +00:00
parent 92f4c0ceee
commit de36159cee
1 changed files with 6 additions and 1 deletions

View File

@ -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 *, dev_t);
void dk_getdefaultlabel(struct dk_softc *, struct disklabel *);
int dk_lookup(struct pathbuf *, struct lwp *, struct vnode **);
#endif /* ! _DEV_DKVAR_H_ */