From 6512e5e36b067ae458cb7f6a9fdfb08d38da3583 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Thu, 3 Dec 2009 04:14:29 -0800 Subject: [PATCH] change #include "time_support.h" to Changes from the flat namespace to heirarchical one. Instead of writing: #include "time_support.h" the following form should be used. #include The exception is from .c files in the same directory. --- src/flash/flash.c | 2 +- src/flash/mflash.c | 2 +- src/flash/nand.c | 2 +- src/flash/nor/aduc702x.c | 2 +- src/flash/nor/at91sam3.c | 2 +- src/jtag/drivers/ft2232.c | 2 +- src/jtag/drivers/presto.c | 2 +- src/pld/pld.c | 2 +- src/svf/svf.c | 2 +- src/target/arm11.c | 2 +- src/target/arm11_dbgtap.c | 2 +- src/target/arm720t.c | 2 +- src/target/arm7_9_common.c | 2 +- src/target/arm920t.c | 2 +- src/target/arm926ejs.c | 2 +- src/target/arm_adi_v5.c | 2 +- src/target/target.c | 2 +- src/target/xscale.c | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/flash/flash.c b/src/flash/flash.c index 1e5ac9a3..e910e42f 100644 --- a/src/flash/flash.c +++ b/src/flash/flash.c @@ -30,7 +30,7 @@ #include "flash.h" #include "common.h" #include "image.h" -#include "time_support.h" +#include static int flash_write_unlock(struct target *target, struct image *image, uint32_t *written, int erase, bool unlock); diff --git a/src/flash/mflash.c b/src/flash/mflash.c index 43d8ddd3..63e71db1 100644 --- a/src/flash/mflash.c +++ b/src/flash/mflash.c @@ -23,7 +23,7 @@ #include "mflash.h" #include "target.h" -#include "time_support.h" +#include #include #include diff --git a/src/flash/nand.c b/src/flash/nand.c index 087a9ae4..5bcbea47 100644 --- a/src/flash/nand.c +++ b/src/flash/nand.c @@ -26,7 +26,7 @@ #include "nand.h" #include "common.h" -#include "time_support.h" +#include #include static int nand_read_page(struct nand_device *nand, uint32_t page, uint8_t *data, uint32_t data_size, uint8_t *oob, uint32_t oob_size); diff --git a/src/flash/nor/aduc702x.c b/src/flash/nor/aduc702x.c index 109b4866..f7aa7468 100644 --- a/src/flash/nor/aduc702x.c +++ b/src/flash/nor/aduc702x.c @@ -26,7 +26,7 @@ #include "flash.h" #include "armv4_5.h" #include -#include "time_support.h" +#include #include "algorithm.h" diff --git a/src/flash/nor/at91sam3.c b/src/flash/nor/at91sam3.c index 6be43f80..b27ea941 100644 --- a/src/flash/nor/at91sam3.c +++ b/src/flash/nor/at91sam3.c @@ -64,7 +64,7 @@ #include "flash.h" #include #include "at91sam3.h" -#include "time_support.h" +#include #define REG_NAME_WIDTH (12) diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c index 29b6389c..30695a9a 100644 --- a/src/jtag/drivers/ft2232.c +++ b/src/jtag/drivers/ft2232.c @@ -43,7 +43,7 @@ /* project specific includes */ #include "interface.h" #include "commands.h" -#include "time_support.h" +#include #if IS_CYGWIN == 1 #include diff --git a/src/jtag/drivers/presto.c b/src/jtag/drivers/presto.c index f4e689c2..e00bac71 100644 --- a/src/jtag/drivers/presto.c +++ b/src/jtag/drivers/presto.c @@ -26,7 +26,7 @@ #endif #include "interface.h" -#include "time_support.h" +#include #include "bitq.h" diff --git a/src/pld/pld.c b/src/pld/pld.c index 985e3648..6a0bd93d 100644 --- a/src/pld/pld.c +++ b/src/pld/pld.c @@ -23,7 +23,7 @@ #include "pld.h" #include -#include "time_support.h" +#include /* pld drivers diff --git a/src/svf/svf.c b/src/svf/svf.c index e01b9332..65495729 100644 --- a/src/svf/svf.c +++ b/src/svf/svf.c @@ -33,7 +33,7 @@ #include "jtag.h" #include "svf.h" -#include "time_support.h" +#include // SVF command diff --git a/src/target/arm11.c b/src/target/arm11.c index 44c9ad30..124868e5 100644 --- a/src/target/arm11.c +++ b/src/target/arm11.c @@ -30,7 +30,7 @@ #include "breakpoints.h" #include "arm11_dbgtap.h" #include "arm_simulator.h" -#include "time_support.h" +#include #include "target_type.h" #include "algorithm.h" #include "register.h" diff --git a/src/target/arm11_dbgtap.c b/src/target/arm11_dbgtap.c index 7e1e9cba..3df1c658 100644 --- a/src/target/arm11_dbgtap.c +++ b/src/target/arm11_dbgtap.c @@ -27,7 +27,7 @@ #include "arm_jtag.h" #include "arm11_dbgtap.h" -#include "time_support.h" +#include #if 0 #define JTAG_DEBUG(expr ...) do { if (1) LOG_DEBUG(expr); } while (0) diff --git a/src/target/arm720t.c b/src/target/arm720t.c index d900d8ae..a4d274ea 100644 --- a/src/target/arm720t.c +++ b/src/target/arm720t.c @@ -25,7 +25,7 @@ #endif #include "arm720t.h" -#include "time_support.h" +#include #include "target_type.h" #include "register.h" diff --git a/src/target/arm7_9_common.c b/src/target/arm7_9_common.c index b5553cd8..255a85f5 100644 --- a/src/target/arm7_9_common.c +++ b/src/target/arm7_9_common.c @@ -34,7 +34,7 @@ #include "embeddedice.h" #include "target_request.h" #include "etm.h" -#include "time_support.h" +#include #include "arm_simulator.h" #include "algorithm.h" #include "register.h" diff --git a/src/target/arm920t.c b/src/target/arm920t.c index 17e7a55a..e8c1950f 100644 --- a/src/target/arm920t.c +++ b/src/target/arm920t.c @@ -22,7 +22,7 @@ #endif #include "arm920t.h" -#include "time_support.h" +#include #include "target_type.h" #include "register.h" diff --git a/src/target/arm926ejs.c b/src/target/arm926ejs.c index ca420aa6..4dec23da 100644 --- a/src/target/arm926ejs.c +++ b/src/target/arm926ejs.c @@ -25,7 +25,7 @@ #endif #include "arm926ejs.h" -#include "time_support.h" +#include #include "target_type.h" #include "register.h" diff --git a/src/target/arm_adi_v5.c b/src/target/arm_adi_v5.c index 72408e1e..6ca50ab7 100644 --- a/src/target/arm_adi_v5.c +++ b/src/target/arm_adi_v5.c @@ -39,7 +39,7 @@ #endif #include "arm_adi_v5.h" -#include "time_support.h" +#include /* * Transaction Mode: diff --git a/src/target/target.c b/src/target/target.c index 9a605f3d..e4260195 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -37,7 +37,7 @@ #include "target_type.h" #include "target_request.h" #include "breakpoints.h" -#include "time_support.h" +#include #include "register.h" #include "trace.h" #include "image.h" diff --git a/src/target/xscale.c b/src/target/xscale.c index ccb1de56..1acaba07 100644 --- a/src/target/xscale.c +++ b/src/target/xscale.c @@ -33,7 +33,7 @@ #include "arm_jtag.h" #include "arm_simulator.h" #include "arm_disassembler.h" -#include "time_support.h" +#include #include "register.h" #include "image.h" -- 2.39.5