summaryrefslogtreecommitdiff
path: root/sys/dev/ata/wdvar.h
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2004-09-24 07:05:45 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2004-09-24 07:05:45 +0000
commit4f30d499a76141dff24ecc2f7719e5dff808be8e (patch)
treee6ed9847c90461c4799f3f5b2199978aa04cf05d /sys/dev/ata/wdvar.h
parent0ef8f7f12242128dae95af0a9bc27816491da582 (diff)
Multiple inclusion protection.
Diffstat (limited to 'sys/dev/ata/wdvar.h')
-rw-r--r--sys/dev/ata/wdvar.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/ata/wdvar.h b/sys/dev/ata/wdvar.h
index bc0b6e98d07..429d49ec4eb 100644
--- a/sys/dev/ata/wdvar.h
+++ b/sys/dev/ata/wdvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wdvar.h,v 1.10 2003/10/21 09:57:04 jmc Exp $ */
+/* $OpenBSD: wdvar.h,v 1.11 2004/09/24 07:05:44 grange Exp $ */
/* $NetBSD: wdvar.h,v 1.3 1998/11/11 19:38:27 bouyer Exp $ */
/*
@@ -32,6 +32,9 @@
*
*/
+#ifndef _DEV_ATA_WDVAR_H_
+#define _DEV_ATA_WDVAR_H_
+
/* Params needed by the controller to perform an ATA bio */
struct ata_bio {
volatile u_int16_t flags; /* cmd flags */
@@ -79,3 +82,5 @@ struct ata_bio {
int wdc_ata_bio(struct ata_drive_datas*, struct ata_bio*);
void wddone(void *);
+
+#endif /* !_DEV_ATA_WDVAR_H_ */