|
|
|
[PATCH 11/15] Protect driver.h from multiple inclusion | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Signed-off-by: Arne Redlich <arne.redlich@xxxxxxxxxxxxxx>
---
usr/driver.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/usr/driver.h b/usr/driver.h
index 4dead54..f9cb386 100644
--- a/usr/driver.h
+++ b/usr/driver.h
@@ -1,3 +1,6 @@
+#ifndef __DRIVER_H__
+#define __DRIVER_H__
+
struct tgt_driver {
const char *name;
int use_kernel;
@@ -25,3 +28,4 @@ extern struct tgt_driver *tgt_drivers[];
extern int get_driver_index(char *name);
extern int register_driver(struct tgt_driver *drv);
+#endif /* __DRIVER_H__ */
--
1.6.0.4
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Home] [Linux SCSI] [Linux RAID] [Linux Clusters] [Linux USB Devel] [Video for Linux] [Linux Audio Users] [Photo] [Yosemite News] [Yosemite Photos] [Video Projectors] [PDAs] [Free Online Dating] [Hacking TiVo] [Linux Kernel] [Freeswitch] [XFree86] [Devices] [Big List of Linux Books]
![]() |
![]() |