From: Zachary T Welch Date: Thu, 3 Dec 2009 12:14:31 +0000 (-0800) Subject: change #include "interface.h" to X-Git-Tag: v0.4.0-rc1~190 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=165fb9309d16ff91967f26ce8c01bfd176371506;p=openocd change #include "interface.h" to Changes from the flat namespace to heirarchical one. Instead of writing: #include "interface.h" the following form should be used. #include The exception is from .c files in the same directory. --- diff --git a/src/jtag/drivers/amt_jtagaccel.c b/src/jtag/drivers/amt_jtagaccel.c index bdae42e9..8ba15838 100644 --- a/src/jtag/drivers/amt_jtagaccel.c +++ b/src/jtag/drivers/amt_jtagaccel.c @@ -21,7 +21,7 @@ #include "config.h" #endif -#include "interface.h" +#include #include diff --git a/src/jtag/drivers/arm-jtag-ew.c b/src/jtag/drivers/arm-jtag-ew.c index be261859..62210116 100644 --- a/src/jtag/drivers/arm-jtag-ew.c +++ b/src/jtag/drivers/arm-jtag-ew.c @@ -22,7 +22,7 @@ #include "config.h" #endif -#include "interface.h" +#include #include #include #include "usb_common.h" diff --git a/src/jtag/drivers/at91rm9200.c b/src/jtag/drivers/at91rm9200.c index ff9f7a41..abaf3adb 100644 --- a/src/jtag/drivers/at91rm9200.c +++ b/src/jtag/drivers/at91rm9200.c @@ -21,7 +21,7 @@ #include "config.h" #endif -#include "interface.h" +#include #include "bitbang.h" #include diff --git a/src/jtag/drivers/bitbang.c b/src/jtag/drivers/bitbang.c index da19171c..83c2d29e 100644 --- a/src/jtag/drivers/bitbang.c +++ b/src/jtag/drivers/bitbang.c @@ -25,7 +25,7 @@ #endif #include "bitbang.h" -#include "interface.h" +#include #include /** diff --git a/src/jtag/drivers/bitq.c b/src/jtag/drivers/bitq.c index 74555d2b..d04a39e1 100644 --- a/src/jtag/drivers/bitq.c +++ b/src/jtag/drivers/bitq.c @@ -22,7 +22,7 @@ #endif #include "bitq.h" -#include "interface.h" +#include struct bitq_interface* bitq_interface; /* low level bit queue interface */ diff --git a/src/jtag/drivers/driver.c b/src/jtag/drivers/driver.c index f6fb4b60..fece0f1e 100644 --- a/src/jtag/drivers/driver.c +++ b/src/jtag/drivers/driver.c @@ -31,7 +31,7 @@ #include "config.h" #endif -#include "interface.h" +#include #include "minidriver.h" #include diff --git a/src/jtag/drivers/dummy.c b/src/jtag/drivers/dummy.c index c2beb092..7370c81d 100644 --- a/src/jtag/drivers/dummy.c +++ b/src/jtag/drivers/dummy.c @@ -21,7 +21,7 @@ #include "config.h" #endif -#include "interface.h" +#include #include "bitbang.h" #include "../hello.h" diff --git a/src/jtag/drivers/ep93xx.c b/src/jtag/drivers/ep93xx.c index c679b216..61dc76ed 100644 --- a/src/jtag/drivers/ep93xx.c +++ b/src/jtag/drivers/ep93xx.c @@ -21,7 +21,7 @@ #include "config.h" #endif -#include "interface.h" +#include #include "bitbang.h" #define TDO_BIT 1 diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c index c7503f8a..831a5dca 100644 --- a/src/jtag/drivers/ft2232.c +++ b/src/jtag/drivers/ft2232.c @@ -41,7 +41,7 @@ #endif /* project specific includes */ -#include "interface.h" +#include #include #include diff --git a/src/jtag/drivers/gw16012.c b/src/jtag/drivers/gw16012.c index 44e4f809..9083e925 100644 --- a/src/jtag/drivers/gw16012.c +++ b/src/jtag/drivers/gw16012.c @@ -21,7 +21,7 @@ #include "config.h" #endif -#include "interface.h" +#include #include diff --git a/src/jtag/drivers/jlink.c b/src/jtag/drivers/jlink.c index 89ba33ef..54f7cb1d 100644 --- a/src/jtag/drivers/jlink.c +++ b/src/jtag/drivers/jlink.c @@ -25,7 +25,7 @@ #include "config.h" #endif -#include "interface.h" +#include #include #include "usb_common.h" diff --git a/src/jtag/drivers/parport.c b/src/jtag/drivers/parport.c index e5f56113..7ff675ba 100644 --- a/src/jtag/drivers/parport.c +++ b/src/jtag/drivers/parport.c @@ -24,7 +24,7 @@ #include "config.h" #endif -#include "interface.h" +#include #include "bitbang.h" /* -ino: 060521-1036 */ diff --git a/src/jtag/drivers/presto.c b/src/jtag/drivers/presto.c index e00bac71..fac5e823 100644 --- a/src/jtag/drivers/presto.c +++ b/src/jtag/drivers/presto.c @@ -25,7 +25,7 @@ #include "windows.h" #endif -#include "interface.h" +#include #include #include "bitq.h" diff --git a/src/jtag/drivers/rlink.c b/src/jtag/drivers/rlink.c index f8b8bdc2..43f19402 100644 --- a/src/jtag/drivers/rlink.c +++ b/src/jtag/drivers/rlink.c @@ -28,7 +28,7 @@ #endif /* project specific includes */ -#include "interface.h" +#include #include #include "rlink.h" #include "rlink_st7.h" diff --git a/src/jtag/drivers/usbprog.c b/src/jtag/drivers/usbprog.c index de84fbd7..f6d8a972 100644 --- a/src/jtag/drivers/usbprog.c +++ b/src/jtag/drivers/usbprog.c @@ -34,7 +34,7 @@ #include "config.h" #endif -#include "interface.h" +#include #include #include "usb_common.h" diff --git a/src/jtag/drivers/vsllink.c b/src/jtag/drivers/vsllink.c index bdc1f4a6..bbbb5f94 100644 --- a/src/jtag/drivers/vsllink.c +++ b/src/jtag/drivers/vsllink.c @@ -26,7 +26,7 @@ #include "config.h" #endif -#include "interface.h" +#include #include #include "usb_common.h" diff --git a/src/jtag/interfaces.h b/src/jtag/interfaces.h index 38f1e714..018a3615 100644 --- a/src/jtag/interfaces.h +++ b/src/jtag/interfaces.h @@ -35,7 +35,7 @@ * for loading and unloading them dynamically from shared libraries. */ -#include "interface.h" +#include /// Dynamically load all JTAG interface modules from specified directory. void jtag_interface_modules_load(const char *path); diff --git a/src/jtag/minidummy/minidummy.c b/src/jtag/minidummy/minidummy.c index 986a8be2..41181550 100644 --- a/src/jtag/minidummy/minidummy.c +++ b/src/jtag/minidummy/minidummy.c @@ -22,7 +22,7 @@ #include "embeddedice.h" #include "minidriver.h" -#include "interface.h" +#include struct jtag_interface minidummy_interface = { diff --git a/src/jtag/zy1000/zy1000.c b/src/jtag/zy1000/zy1000.c index 07d840fe..821f161e 100644 --- a/src/jtag/zy1000/zy1000.c +++ b/src/jtag/zy1000/zy1000.c @@ -22,7 +22,7 @@ #include "embeddedice.h" #include "minidriver.h" -#include "interface.h" +#include #include "zy1000_version.h" #include // low level i/o