]> git.sur5r.net Git - openocd/commitdiff
change #include "types.h" to <helper/types.h>
authorZachary T Welch <zw@superlucidity.net>
Thu, 3 Dec 2009 12:14:30 +0000 (04:14 -0800)
committerZachary T Welch <zw@superlucidity.net>
Thu, 3 Dec 2009 12:22:52 +0000 (04:22 -0800)
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.

20 files changed:
src/ecosboard.c
src/flash/common.h
src/flash/nor/at91sam3.c
src/flash/nor/avrf.h
src/helper/binarybuffer.h
src/helper/command.h
src/helper/fileio.h
src/helper/replacements.h
src/jtag/drivers/rlink.h
src/jtag/drivers/usb_common.h
src/pld/xilinx_bit.h
src/target/arm_disassembler.h
src/target/arm_simulator.h
src/target/armv4_5_cache.h
src/target/breakpoints.h
src/target/mips_m4k.h
src/target/register.c
src/target/target.h
src/target/target_type.h
src/target/trace.h

index c93cea05bcbb8d24eaf00dc55e8ce02bae1614b8..5d93936804a4494f9d35db31e46b7612796489c1 100644 (file)
@@ -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>
index 1fd0d7742f0b8dbe6a4b692dfde0b007db902cc2..e0dcdb3b206599e1ad48430afca85e241aa7c595 100644 (file)
@@ -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.
index b27ea941c1391ad478ca5d78a87386a0bc810113..5f7e8d72fef687db93c29a0d69814b48cd961ec4 100644 (file)
@@ -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"
index e75d9d7eb60d9f7b570e295ec30dcdc36432791f..0f270e6f487775316d50c18940159e28887f8f88 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef AVRF_H
 #define AVRF_H
 
-#include "types.h"
+#include <helper/types.h>
 
 struct avrf_type
 {
index 6275eaf1e9d1f56ba1521f599a55619748738c63..ae0ee9a101b2452b30658129769060a0ae49c71b 100644 (file)
@@ -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
index 8beeb7244bb57486482464111e58919fe12d202a..55046085dea8885beb058abd0ac7ea6a58fda4c6 100644 (file)
@@ -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
index 325b441ff9884191b438db8ac9be1697214f2d9f..597bafc0124ae5c53934bb9f866d61f9f6b57284 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef FILEIO_H
 #define FILEIO_H
 
-#include "types.h"
+#include <helper/types.h>
 
 #define FILEIO_MAX_ERROR_STRING                (128)
 
index a029674f7a05f22373dcca579ffb2083cbcd6ac1..2b3ea73a6fba0f50bee4a2836dc3ab34c1039f08 100644 (file)
@@ -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;
index b53be5ceb62c68421fffea9d21811695d82d8c44..02170606161d4dbd82fb76a6030dff38202c09c7 100644 (file)
@@ -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;
index da395addc7cc8ccad00ab6812bb716a488f0431f..32d3548d765bcefb0d927450c03dd90c209c29d9 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef JTAG_USB_COMMON_H
 #define JTAG_USB_COMMON_H
 
-#include "types.h"
+#include <helper/types.h>
 
 #include <usb.h>
 
index 722d225cddc7854a304ea96476122166ed17016a..2b40d861f024d5281264ecf6d32d9a1fa61b9272 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef XILINX_BIT_H
 #define XILINX_BIT_H
 
-#include "types.h"
+#include <helper/types.h>
 
 struct xilinx_bit_file
 {
index 774dd2c2f968105f13efa85864815bae8b31aff0..156c037e1eda42bc77ffe51b69e02535e2971580 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef ARM_DISASSEMBLER_H
 #define ARM_DISASSEMBLER_H
 
-#include "types.h"
+#include <helper/types.h>
 
 enum arm_instruction_type
 {
index 616627a42140f5c541fc407f912295b261adb9e9..daca371170a872fdb880116d53e391286d8e315e 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef ARM_SIMULATOR_H
 #define ARM_SIMULATOR_H
 
-#include "types.h"
+#include <helper/types.h>
 
 struct target;
 
index 1a82b671cee2ec435889a85bfeb3401996c0b9ca..c529b458413345f80f668de6b51eb1a84ec5b933 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef ARMV4_5_CACHE_H
 #define ARMV4_5_CACHE_H
 
-#include "types.h"
+#include <helper/types.h>
 
 struct command_context;
 
index a65f20e373a9a8454cd7709b51a82163c26047c5..ee4d9d13596a18fc154c8606dccff7f7ade67cae 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef BREAKPOINTS_H
 #define BREAKPOINTS_H
 
-#include "types.h"
+#include <helper/types.h>
 
 struct target;
 
index a7c5bb3927a511e2687b6ce3d26a255978c84e41..c5f9be2b2144317084faa5591e54213aea85268f 100644 (file)
@@ -23,7 +23,7 @@
 #ifndef MIPS_M4K_H
 #define MIPS_M4K_H
 
-#include "types.h"
+#include <helper/types.h>
 
 struct target;
 
index 7b26b740e578f31a8b22548833f79061a0e727e6..355c860121372c45c6cd6a3d9420fd90d0d606c8 100644 (file)
@@ -24,7 +24,7 @@
 #include "config.h"
 #endif
 
-#include "types.h"
+#include <helper/types.h>
 #include "register.h"
 #include <helper/log.h>
 
index 43ac65fc1d55f4c136df1d01f53dc984e8c9f820..73190695427780d5fe38221e4ef23ad94cceb55d 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef TARGET_H
 #define TARGET_H
 
-#include "types.h"
+#include <helper/types.h>
 #include <helper/jim.h>
 
 struct reg;
index 15cf66be85bf18ef8c576d342c112e82ecefe764..67041b31625a68e2a605d3e90ef09fedf2e99eed 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef TARGET_TYPE_H
 #define TARGET_TYPE_H
 
-#include "types.h"
+#include <helper/types.h>
 
 struct target;
 
index c554c731000459a6282a6e9db88c71ed8eb7677d..5fbedc4b6a3f0b4928ed702a050d761c68744750 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef TRACE_H
 #define TRACE_H
 
-#include "types.h"
+#include <helper/types.h>
 
 struct target;
 struct command_context;