diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-12-03 04:14:29 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-12-03 04:22:52 -0800 |
commit | 6512e5e36b067ae458cb7f6a9fdfb08d38da3583 (patch) | |
tree | 49490993e98f16d33efd05296e76f603bf50c747 /src/flash | |
parent | ba00ba47d289381d1fbfb84b6f4b18f8dff2f011 (diff) | |
download | openocd+libswd-6512e5e36b067ae458cb7f6a9fdfb08d38da3583.tar.gz openocd+libswd-6512e5e36b067ae458cb7f6a9fdfb08d38da3583.tar.bz2 openocd+libswd-6512e5e36b067ae458cb7f6a9fdfb08d38da3583.tar.xz openocd+libswd-6512e5e36b067ae458cb7f6a9fdfb08d38da3583.zip |
change #include "time_support.h" to <helper/time_support.h>
Changes from the flat namespace to heirarchical one. Instead of writing:
#include "time_support.h"
the following form should be used.
#include <helper/time_support.h>
The exception is from .c files in the same directory.
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/flash.c | 2 | ||||
-rw-r--r-- | src/flash/mflash.c | 2 | ||||
-rw-r--r-- | src/flash/nand.c | 2 | ||||
-rw-r--r-- | src/flash/nor/aduc702x.c | 2 | ||||
-rw-r--r-- | src/flash/nor/at91sam3.c | 2 |
5 files changed, 5 insertions, 5 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 <helper/time_support.h> 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 <helper/time_support.h> #include <helper/fileio.h> #include <helper/log.h> 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 <helper/time_support.h> #include <helper/fileio.h> 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 <helper/binarybuffer.h> -#include "time_support.h" +#include <helper/time_support.h> #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 <helper/membuf.h> #include "at91sam3.h" -#include "time_support.h" +#include <helper/time_support.h> #define REG_NAME_WIDTH (12) |