diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-12-03 04:14:30 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-12-03 04:22:52 -0800 |
commit | df0e90ec8c728be50f1457ecc513d78de044f5a4 (patch) | |
tree | 73c1742fe3fb11deb8b2bd409af7bfcffab694f4 | |
parent | 6512e5e36b067ae458cb7f6a9fdfb08d38da3583 (diff) | |
download | riscv-openocd-df0e90ec8c728be50f1457ecc513d78de044f5a4.zip riscv-openocd-df0e90ec8c728be50f1457ecc513d78de044f5a4.tar.gz riscv-openocd-df0e90ec8c728be50f1457ecc513d78de044f5a4.tar.bz2 |
change #include "types.h" to <helper/types.h>
Changes from the flat namespace to heirarchical one. Instead of writing:
#include "types.h"
the following form should be used.
#include <helper/types.h>
The exception is from .c files in the same directory.
-rw-r--r-- | src/ecosboard.c | 2 | ||||
-rw-r--r-- | src/flash/common.h | 2 | ||||
-rw-r--r-- | src/flash/nor/at91sam3.c | 2 | ||||
-rw-r--r-- | src/flash/nor/avrf.h | 2 | ||||
-rw-r--r-- | src/helper/binarybuffer.h | 2 | ||||
-rw-r--r-- | src/helper/command.h | 2 | ||||
-rw-r--r-- | src/helper/fileio.h | 2 | ||||
-rw-r--r-- | src/helper/replacements.h | 2 | ||||
-rw-r--r-- | src/jtag/drivers/rlink.h | 2 | ||||
-rw-r--r-- | src/jtag/drivers/usb_common.h | 2 | ||||
-rw-r--r-- | src/pld/xilinx_bit.h | 2 | ||||
-rw-r--r-- | src/target/arm_disassembler.h | 2 | ||||
-rw-r--r-- | src/target/arm_simulator.h | 2 | ||||
-rw-r--r-- | src/target/armv4_5_cache.h | 2 | ||||
-rw-r--r-- | src/target/breakpoints.h | 2 | ||||
-rw-r--r-- | src/target/mips_m4k.h | 2 | ||||
-rw-r--r-- | src/target/register.c | 2 | ||||
-rw-r--r-- | src/target/target.h | 2 | ||||
-rw-r--r-- | src/target/target_type.h | 2 | ||||
-rw-r--r-- | src/target/trace.h | 2 |
20 files changed, 20 insertions, 20 deletions
diff --git a/src/ecosboard.c b/src/ecosboard.c index c93cea0..5d93936 100644 --- a/src/ecosboard.c +++ b/src/ecosboard.c @@ -21,7 +21,7 @@ #include "config.h" #endif -#include "types.h" +#include <helper/types.h> #include "jtag.h" #include <helper/ioutil.h> #include <helper/configuration.h> diff --git a/src/flash/common.h b/src/flash/common.h index 1fd0d77..e0dcdb3 100644 --- a/src/flash/common.h +++ b/src/flash/common.h @@ -19,7 +19,7 @@ #ifndef FLASH_COMMON_H #define FLASH_COMMON_H -#include "types.h" +#include <helper/types.h> /** * Parses the optional '.index' portion of a flash bank identifier. diff --git a/src/flash/nor/at91sam3.c b/src/flash/nor/at91sam3.c index b27ea94..5f7e8d7 100644 --- a/src/flash/nor/at91sam3.c +++ b/src/flash/nor/at91sam3.c @@ -60,7 +60,7 @@ #include <stdio.h> #include <string.h> #include <stddef.h> -#include "types.h" +#include <helper/types.h> #include "flash.h" #include <helper/membuf.h> #include "at91sam3.h" diff --git a/src/flash/nor/avrf.h b/src/flash/nor/avrf.h index e75d9d7..0f270e6 100644 --- a/src/flash/nor/avrf.h +++ b/src/flash/nor/avrf.h @@ -20,7 +20,7 @@ #ifndef AVRF_H #define AVRF_H -#include "types.h" +#include <helper/types.h> struct avrf_type { diff --git a/src/helper/binarybuffer.h b/src/helper/binarybuffer.h index 6275eaf..ae0ee9a 100644 --- a/src/helper/binarybuffer.h +++ b/src/helper/binarybuffer.h @@ -23,7 +23,7 @@ #ifndef BINARYBUFFER_H #define BINARYBUFFER_H -#include "types.h" +#include <helper/types.h> /** @file * Support functions to access arbitrary bits in a byte array diff --git a/src/helper/command.h b/src/helper/command.h index 8beeb72..5504608 100644 --- a/src/helper/command.h +++ b/src/helper/command.h @@ -23,7 +23,7 @@ #ifndef COMMAND_H #define COMMAND_H -#include "types.h" +#include <helper/types.h> /* Integrate the JIM TCL interpretor into the command processing. */ #if BUILD_ECOSBOARD diff --git a/src/helper/fileio.h b/src/helper/fileio.h index 325b441..597bafc 100644 --- a/src/helper/fileio.h +++ b/src/helper/fileio.h @@ -26,7 +26,7 @@ #ifndef FILEIO_H #define FILEIO_H -#include "types.h" +#include <helper/types.h> #define FILEIO_MAX_ERROR_STRING (128) diff --git a/src/helper/replacements.h b/src/helper/replacements.h index a029674..2b3ea73 100644 --- a/src/helper/replacements.h +++ b/src/helper/replacements.h @@ -211,7 +211,7 @@ static __inline int socket_select(int max_fd, fd_set *rfds, fd_set *wfds, fd_set #ifndef HAVE_ELF_H -#include "types.h" +#include <helper/types.h> typedef uint32_t Elf32_Addr; typedef uint16_t Elf32_Half; diff --git a/src/jtag/drivers/rlink.h b/src/jtag/drivers/rlink.h index b53be5c..0217060 100644 --- a/src/jtag/drivers/rlink.h +++ b/src/jtag/drivers/rlink.h @@ -18,7 +18,7 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ -#include "types.h" +#include <helper/types.h> struct rlink_speed_table { uint8_t const *dtc; diff --git a/src/jtag/drivers/usb_common.h b/src/jtag/drivers/usb_common.h index da395ad..32d3548 100644 --- a/src/jtag/drivers/usb_common.h +++ b/src/jtag/drivers/usb_common.h @@ -20,7 +20,7 @@ #ifndef JTAG_USB_COMMON_H #define JTAG_USB_COMMON_H -#include "types.h" +#include <helper/types.h> #include <usb.h> diff --git a/src/pld/xilinx_bit.h b/src/pld/xilinx_bit.h index 722d225..2b40d86 100644 --- a/src/pld/xilinx_bit.h +++ b/src/pld/xilinx_bit.h @@ -20,7 +20,7 @@ #ifndef XILINX_BIT_H #define XILINX_BIT_H -#include "types.h" +#include <helper/types.h> struct xilinx_bit_file { diff --git a/src/target/arm_disassembler.h b/src/target/arm_disassembler.h index 774dd2c..156c037 100644 --- a/src/target/arm_disassembler.h +++ b/src/target/arm_disassembler.h @@ -20,7 +20,7 @@ #ifndef ARM_DISASSEMBLER_H #define ARM_DISASSEMBLER_H -#include "types.h" +#include <helper/types.h> enum arm_instruction_type { diff --git a/src/target/arm_simulator.h b/src/target/arm_simulator.h index 616627a..daca371 100644 --- a/src/target/arm_simulator.h +++ b/src/target/arm_simulator.h @@ -20,7 +20,7 @@ #ifndef ARM_SIMULATOR_H #define ARM_SIMULATOR_H -#include "types.h" +#include <helper/types.h> struct target; diff --git a/src/target/armv4_5_cache.h b/src/target/armv4_5_cache.h index 1a82b67..c529b45 100644 --- a/src/target/armv4_5_cache.h +++ b/src/target/armv4_5_cache.h @@ -20,7 +20,7 @@ #ifndef ARMV4_5_CACHE_H #define ARMV4_5_CACHE_H -#include "types.h" +#include <helper/types.h> struct command_context; diff --git a/src/target/breakpoints.h b/src/target/breakpoints.h index a65f20e..ee4d9d1 100644 --- a/src/target/breakpoints.h +++ b/src/target/breakpoints.h @@ -20,7 +20,7 @@ #ifndef BREAKPOINTS_H #define BREAKPOINTS_H -#include "types.h" +#include <helper/types.h> struct target; diff --git a/src/target/mips_m4k.h b/src/target/mips_m4k.h index a7c5bb3..c5f9be2 100644 --- a/src/target/mips_m4k.h +++ b/src/target/mips_m4k.h @@ -23,7 +23,7 @@ #ifndef MIPS_M4K_H #define MIPS_M4K_H -#include "types.h" +#include <helper/types.h> struct target; diff --git a/src/target/register.c b/src/target/register.c index 7b26b74..355c860 100644 --- a/src/target/register.c +++ b/src/target/register.c @@ -24,7 +24,7 @@ #include "config.h" #endif -#include "types.h" +#include <helper/types.h> #include "register.h" #include <helper/log.h> diff --git a/src/target/target.h b/src/target/target.h index 43ac65f..7319069 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -26,7 +26,7 @@ #ifndef TARGET_H #define TARGET_H -#include "types.h" +#include <helper/types.h> #include <helper/jim.h> struct reg; diff --git a/src/target/target_type.h b/src/target/target_type.h index 15cf66b..67041b3 100644 --- a/src/target/target_type.h +++ b/src/target/target_type.h @@ -26,7 +26,7 @@ #ifndef TARGET_TYPE_H #define TARGET_TYPE_H -#include "types.h" +#include <helper/types.h> struct target; diff --git a/src/target/trace.h b/src/target/trace.h index c554c73..5fbedc4 100644 --- a/src/target/trace.h +++ b/src/target/trace.h @@ -20,7 +20,7 @@ #ifndef TRACE_H #define TRACE_H -#include "types.h" +#include <helper/types.h> struct target; struct command_context; |