From 165fb9309d16ff91967f26ce8c01bfd176371506 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Thu, 3 Dec 2009 04:14:31 -0800 Subject: [PATCH] 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. --- src/jtag/drivers/amt_jtagaccel.c | 2 +- src/jtag/drivers/arm-jtag-ew.c | 2 +- src/jtag/drivers/at91rm9200.c | 2 +- src/jtag/drivers/bitbang.c | 2 +- src/jtag/drivers/bitq.c | 2 +- src/jtag/drivers/driver.c | 2 +- src/jtag/drivers/dummy.c | 2 +- src/jtag/drivers/ep93xx.c | 2 +- src/jtag/drivers/ft2232.c | 2 +- src/jtag/drivers/gw16012.c | 2 +- src/jtag/drivers/jlink.c | 2 +- src/jtag/drivers/parport.c | 2 +- src/jtag/drivers/presto.c | 2 +- src/jtag/drivers/rlink.c | 2 +- src/jtag/drivers/usbprog.c | 2 +- src/jtag/drivers/vsllink.c | 2 +- src/jtag/interfaces.h | 2 +- src/jtag/minidummy/minidummy.c | 2 +- src/jtag/zy1000/zy1000.c | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/jtag/drivers/amt_jtagaccel.c b/src/jtag/drivers/amt_jtagaccel.c index bdae42e96..8ba158384 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 be261859f..622101160 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 ff9f7a412..abaf3adb7 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 da19171c1..83c2d29ec 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 74555d2bc..d04a39e10 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 f6fb4b606..fece0f1ef 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 c2beb0920..7370c81dc 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 c679b2164..61dc76ede 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 c7503f8a4..831a5dca7 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 44e4f8098..9083e925f 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 89ba33ef6..54f7cb1d5 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 e5f56113f..7ff675bab 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 e00bac710..fac5e8239 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 f8b8bdc2c..43f194020 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 de84fbd70..f6d8a9728 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 bdc1f4a66..bbbb5f94c 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 38f1e714c..018a3615e 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 986a8be2e..41181550e 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 07d840fef..821f161ee 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