Browse Source

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.
tags/v0.4.0-rc1
Zachary T Welch 14 years ago
parent
commit
df0e90ec8c
20 changed files with 20 additions and 20 deletions
  1. +1
    -1
      src/ecosboard.c
  2. +1
    -1
      src/flash/common.h
  3. +1
    -1
      src/flash/nor/at91sam3.c
  4. +1
    -1
      src/flash/nor/avrf.h
  5. +1
    -1
      src/helper/binarybuffer.h
  6. +1
    -1
      src/helper/command.h
  7. +1
    -1
      src/helper/fileio.h
  8. +1
    -1
      src/helper/replacements.h
  9. +1
    -1
      src/jtag/drivers/rlink.h
  10. +1
    -1
      src/jtag/drivers/usb_common.h
  11. +1
    -1
      src/pld/xilinx_bit.h
  12. +1
    -1
      src/target/arm_disassembler.h
  13. +1
    -1
      src/target/arm_simulator.h
  14. +1
    -1
      src/target/armv4_5_cache.h
  15. +1
    -1
      src/target/breakpoints.h
  16. +1
    -1
      src/target/mips_m4k.h
  17. +1
    -1
      src/target/register.c
  18. +1
    -1
      src/target/target.h
  19. +1
    -1
      src/target/target_type.h
  20. +1
    -1
      src/target/trace.h

+ 1
- 1
src/ecosboard.c View 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>


+ 1
- 1
src/flash/common.h View 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.


+ 1
- 1
src/flash/nor/at91sam3.c View 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"


+ 1
- 1
src/flash/nor/avrf.h View File

@@ -20,7 +20,7 @@
#ifndef AVRF_H
#define AVRF_H

#include "types.h"
#include <helper/types.h>

struct avrf_type
{


+ 1
- 1
src/helper/binarybuffer.h View 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


+ 1
- 1
src/helper/command.h View 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


+ 1
- 1
src/helper/fileio.h View File

@@ -26,7 +26,7 @@
#ifndef FILEIO_H
#define FILEIO_H

#include "types.h"
#include <helper/types.h>

#define FILEIO_MAX_ERROR_STRING (128)



+ 1
- 1
src/helper/replacements.h View 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;


+ 1
- 1
src/jtag/drivers/rlink.h View 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;


+ 1
- 1
src/jtag/drivers/usb_common.h View 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>



+ 1
- 1
src/pld/xilinx_bit.h View File

@@ -20,7 +20,7 @@
#ifndef XILINX_BIT_H
#define XILINX_BIT_H

#include "types.h"
#include <helper/types.h>

struct xilinx_bit_file
{


+ 1
- 1
src/target/arm_disassembler.h View File

@@ -20,7 +20,7 @@
#ifndef ARM_DISASSEMBLER_H
#define ARM_DISASSEMBLER_H

#include "types.h"
#include <helper/types.h>

enum arm_instruction_type
{


+ 1
- 1
src/target/arm_simulator.h View File

@@ -20,7 +20,7 @@
#ifndef ARM_SIMULATOR_H
#define ARM_SIMULATOR_H

#include "types.h"
#include <helper/types.h>

struct target;



+ 1
- 1
src/target/armv4_5_cache.h View 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;



+ 1
- 1
src/target/breakpoints.h View File

@@ -20,7 +20,7 @@
#ifndef BREAKPOINTS_H
#define BREAKPOINTS_H

#include "types.h"
#include <helper/types.h>

struct target;



+ 1
- 1
src/target/mips_m4k.h View File

@@ -23,7 +23,7 @@
#ifndef MIPS_M4K_H
#define MIPS_M4K_H

#include "types.h"
#include <helper/types.h>

struct target;



+ 1
- 1
src/target/register.c View File

@@ -24,7 +24,7 @@
#include "config.h"
#endif

#include "types.h"
#include <helper/types.h>
#include "register.h"
#include <helper/log.h>



+ 1
- 1
src/target/target.h View File

@@ -26,7 +26,7 @@
#ifndef TARGET_H
#define TARGET_H

#include "types.h"
#include <helper/types.h>
#include <helper/jim.h>

struct reg;


+ 1
- 1
src/target/target_type.h View File

@@ -26,7 +26,7 @@
#ifndef TARGET_TYPE_H
#define TARGET_TYPE_H

#include "types.h"
#include <helper/types.h>

struct target;



+ 1
- 1
src/target/trace.h View File

@@ -20,7 +20,7 @@
#ifndef TRACE_H
#define TRACE_H

#include "types.h"
#include <helper/types.h>

struct target;
struct command_context;


Loading…
Cancel
Save