Commit df0e90ec authored by Zachary T Welch's avatar Zachary T Welch
Browse files

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.
parent 6512e5e3
......@@ -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>
......
......@@ -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.
......
......@@ -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"
......
......@@ -20,7 +20,7 @@
#ifndef AVRF_H
#define AVRF_H
#include "types.h"
#include <helper/types.h>
struct avrf_type
{
......
......@@ -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
......
......@@ -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
......
......@@ -26,7 +26,7 @@
#ifndef FILEIO_H
#define FILEIO_H
#include "types.h"
#include <helper/types.h>
#define FILEIO_MAX_ERROR_STRING (128)
......
......@@ -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;
......
......@@ -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;
......
......@@ -20,7 +20,7 @@
#ifndef JTAG_USB_COMMON_H
#define JTAG_USB_COMMON_H
#include "types.h"
#include <helper/types.h>
#include <usb.h>
......
......@@ -20,7 +20,7 @@
#ifndef XILINX_BIT_H
#define XILINX_BIT_H
#include "types.h"
#include <helper/types.h>
struct xilinx_bit_file
{
......
......@@ -20,7 +20,7 @@
#ifndef ARM_DISASSEMBLER_H
#define ARM_DISASSEMBLER_H
#include "types.h"
#include <helper/types.h>
enum arm_instruction_type
{
......
......@@ -20,7 +20,7 @@
#ifndef ARM_SIMULATOR_H
#define ARM_SIMULATOR_H
#include "types.h"
#include <helper/types.h>
struct target;
......
......@@ -20,7 +20,7 @@
#ifndef ARMV4_5_CACHE_H
#define ARMV4_5_CACHE_H
#include "types.h"
#include <helper/types.h>
struct command_context;
......
......@@ -20,7 +20,7 @@
#ifndef BREAKPOINTS_H
#define BREAKPOINTS_H
#include "types.h"
#include <helper/types.h>
struct target;
......
......@@ -23,7 +23,7 @@
#ifndef MIPS_M4K_H
#define MIPS_M4K_H
#include "types.h"
#include <helper/types.h>
struct target;
......
......@@ -24,7 +24,7 @@
#include "config.h"
#endif
#include "types.h"
#include <helper/types.h>
#include "register.h"
#include <helper/log.h>
......
......@@ -26,7 +26,7 @@
#ifndef TARGET_H
#define TARGET_H
#include "types.h"
#include <helper/types.h>
#include <helper/jim.h>
struct reg;
......
......@@ -26,7 +26,7 @@
#ifndef TARGET_TYPE_H
#define TARGET_TYPE_H
#include "types.h"
#include <helper/types.h>
struct target;
......
......@@ -20,7 +20,7 @@
#ifndef TRACE_H
#define TRACE_H
#include "types.h"
#include <helper/types.h>
struct target;
struct command_context;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment