summaryrefslogtreecommitdiff
path: root/sys/dev/ata/atavar.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/atavar.h
parent0ef8f7f12242128dae95af0a9bc27816491da582 (diff)
Multiple inclusion protection.
Diffstat (limited to 'sys/dev/ata/atavar.h')
-rw-r--r--sys/dev/ata/atavar.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/ata/atavar.h b/sys/dev/ata/atavar.h
index 1f2e2d474fc..257fb776f50 100644
--- a/sys/dev/ata/atavar.h
+++ b/sys/dev/ata/atavar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: atavar.h,v 1.17 2003/10/21 09:57:04 jmc Exp $ */
+/* $OpenBSD: atavar.h,v 1.18 2004/09/24 07:05:44 grange Exp $ */
/* $NetBSD: atavar.h,v 1.13 1999/03/10 13:11:43 bouyer Exp $ */
/*
@@ -32,6 +32,9 @@
*
*/
+#ifndef _DEV_ATA_ATAVAR_H_
+#define _DEV_ATA_ATAVAR_H_
+
/* High-level functions and structures used by both ATA and ATAPI devices */
#include <dev/ata/atareg.h>
@@ -183,3 +186,5 @@ int ata_set_mode(struct ata_drive_datas*, u_int8_t, u_int8_t);
void ata_dmaerr(struct ata_drive_datas *);
void ata_perror(struct ata_drive_datas *, int, char *, size_t);
+
+#endif /* !_DEV_ATA_ATAVAR_H_ */