diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-12-03 04:14:25 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-12-03 04:22:48 -0800 |
commit | 264d24495d7ff0048bd5c49736042ed66b90f7a6 (patch) | |
tree | 572e169598fa3dfa7c898749917aa90e9d5e1e68 /src | |
parent | d1bc4375e99ce52b72988494f35beca364234bae (diff) | |
download | openocd_libswd-264d24495d7ff0048bd5c49736042ed66b90f7a6.tar.gz openocd_libswd-264d24495d7ff0048bd5c49736042ed66b90f7a6.tar.bz2 openocd_libswd-264d24495d7ff0048bd5c49736042ed66b90f7a6.tar.xz openocd_libswd-264d24495d7ff0048bd5c49736042ed66b90f7a6.zip |
change #include "command.h" to <helper/command.h>
Changes from the flat namespace to heirarchical one. Instead of writing:
#include "command.h"
the following form should be used.
#include <helper/command.h>
The exception is from .c files in the same directory.
Diffstat (limited to 'src')
-rw-r--r-- | src/helper/configuration.h | 2 | ||||
-rw-r--r-- | src/helper/log.h | 2 | ||||
-rw-r--r-- | src/jtag/drivers/driver.c | 2 | ||||
-rw-r--r-- | src/pld/pld.h | 2 | ||||
-rw-r--r-- | src/target/armv4_5.h | 2 | ||||
-rw-r--r-- | src/target/armv7a.c | 2 | ||||
-rw-r--r-- | src/xsvf/xsvf.h | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/src/helper/configuration.h b/src/helper/configuration.h index ce9159c3..caa80eec 100644 --- a/src/helper/configuration.h +++ b/src/helper/configuration.h @@ -23,7 +23,7 @@ #ifndef CONFIGURATION_H #define CONFIGURATION_H -#include "command.h" +#include <helper/command.h> int parse_cmdline_args(struct command_context *cmd_ctx, int argc, char *argv[]); diff --git a/src/helper/log.h b/src/helper/log.h index f2d19d16..ebcb8a15 100644 --- a/src/helper/log.h +++ b/src/helper/log.h @@ -26,7 +26,7 @@ #ifndef ERROR_H #define ERROR_H -#include "command.h" +#include <helper/command.h> /* To achieve C99 printf compatibility in MinGW, gnu_printf should be * used for __attribute__((format( ... ))), with GCC v4.4 or later diff --git a/src/jtag/drivers/driver.c b/src/jtag/drivers/driver.c index cadd88e8..f6fb4b60 100644 --- a/src/jtag/drivers/driver.c +++ b/src/jtag/drivers/driver.c @@ -33,7 +33,7 @@ #include "interface.h" #include "minidriver.h" -#include "command.h" +#include <helper/command.h> struct jtag_callback_entry { diff --git a/src/pld/pld.h b/src/pld/pld.h index 1ae775cc..cd92ff0a 100644 --- a/src/pld/pld.h +++ b/src/pld/pld.h @@ -20,7 +20,7 @@ #ifndef PLD_H #define PLD_H -#include "command.h" +#include <helper/command.h> struct pld_device; diff --git a/src/target/armv4_5.h b/src/target/armv4_5.h index 7229a6c0..9b6237bc 100644 --- a/src/target/armv4_5.h +++ b/src/target/armv4_5.h @@ -27,7 +27,7 @@ #define ARMV4_5_H #include "target.h" -#include "command.h" +#include <helper/command.h> typedef enum armv4_5_mode diff --git a/src/target/armv7a.c b/src/target/armv7a.c index 1aa0d8ac..ae5ed087 100644 --- a/src/target/armv7a.c +++ b/src/target/armv7a.c @@ -27,7 +27,7 @@ #include "register.h" #include <helper/binarybuffer.h> -#include "command.h" +#include <helper/command.h> #include <stdlib.h> #include <string.h> diff --git a/src/xsvf/xsvf.h b/src/xsvf/xsvf.h index 2153a2dd..7ce37113 100644 --- a/src/xsvf/xsvf.h +++ b/src/xsvf/xsvf.h @@ -20,7 +20,7 @@ #ifndef XSVF_H #define XSVF_H -#include "command.h" +#include <helper/command.h> int xsvf_register_commands(struct command_context *cmd_ctx); |