usb_blaster: ublast_access.h: add guard macro 41/1941/3
authorAntony Pavlov <antonynpavlov@gmail.com>
Sat, 8 Feb 2014 20:10:07 +0000 (00:10 +0400)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 24 Feb 2014 12:01:34 +0000 (12:01 +0000)
Change-Id: I10f6e2048cf88f64f5dce275a273783365afd65c
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Reviewed-on: http://openocd.zylin.com/1941
Tested-by: jenkins
Reviewed-by: Robert Jarzmik <robert.jarzmik@free.fr>
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
src/jtag/drivers/usb_blaster/ublast_access.h

index 9a9762c..5bdc257 100644 (file)
@@ -22,6 +22,9 @@
  *
  */
 
+#ifndef JTAG_UBLAST_ACCESS_H
+#define JTAG_UBLAST_ACCESS_H
+
 #include <libusb_common.h>
 
 /* Low level flags */
@@ -64,3 +67,5 @@ struct ublast_lowlevel {
 extern struct ublast_lowlevel *ublast_register_ftdi(void);
 extern struct ublast_lowlevel *ublast_register_ftd2xx(void);
 extern struct ublast_lowlevel *ublast2_register_libusb(void);
+
+#endif /* JTAG_UBLAST_ACCESS_H */