Browse Source

change #include "jtag.h" to <jtag/jtag.h>

Changes from the flat namespace to heirarchical one.  Instead of writing:

	#include "jtag.h"

the following form should be used.

	#include <jtag/jtag.h>

The exception is from .c files in the same directory.
tags/v0.4.0-rc1
Zachary T Welch 14 years ago
parent
commit
cb4a475f6c
15 changed files with 15 additions and 15 deletions
  1. +1
    -1
      src/ecosboard.c
  2. +1
    -1
      src/flash/nor/str9xpec.h
  3. +1
    -1
      src/jtag/commands.h
  4. +1
    -1
      src/jtag/interface.h
  5. +1
    -1
      src/openocd.c
  6. +1
    -1
      src/pld/virtex2.h
  7. +1
    -1
      src/server/gdb_server.c
  8. +1
    -1
      src/svf/svf.c
  9. +1
    -1
      src/svf/svf.h
  10. +1
    -1
      src/target/arm_dpm.c
  11. +1
    -1
      src/target/arm_jtag.h
  12. +1
    -1
      src/target/avrt.h
  13. +1
    -1
      src/target/mips_ejtag.h
  14. +1
    -1
      src/target/target.c
  15. +1
    -1
      src/xsvf/xsvf.c

+ 1
- 1
src/ecosboard.c View File

@@ -22,7 +22,7 @@
#endif

#include <helper/types.h>
#include "jtag.h"
#include <jtag/jtag.h>
#include <helper/ioutil.h>
#include <helper/configuration.h>
#include "xsvf.h"


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

@@ -24,7 +24,7 @@
#define STR9XPEC_H

#include "flash.h"
#include "jtag.h"
#include <jtag/jtag.h>

struct str9xpec_flash_controller
{


+ 1
- 1
src/jtag/commands.h View File

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

#include "jtag.h"
#include <jtag/jtag.h>

/**
* The inferred type of a scan_command_s structure, indicating whether


+ 1
- 1
src/jtag/interface.h View File

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

#include "jtag.h"
#include <jtag/jtag.h>

/* @file
* The "Cable Helper API" is what the cable drivers can use to help


+ 1
- 1
src/openocd.c View File

@@ -29,7 +29,7 @@
#endif

#include "openocd.h"
#include "jtag.h"
#include <jtag/jtag.h>
#include <helper/ioutil.h>
#include <helper/configuration.h>
#include "xsvf.h"


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

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

#include "jtag.h"
#include <jtag/jtag.h>

struct virtex2_pld_device
{


+ 1
- 1
src/server/gdb_server.c View File

@@ -34,7 +34,7 @@
#include "flash.h"
#include "gdb_server.h"
#include "image.h"
#include "jtag.h"
#include <jtag/jtag.h>


#if 0


+ 1
- 1
src/svf/svf.c View File

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

#include "jtag.h"
#include <jtag/jtag.h>
#include "svf.h"
#include <helper/time_support.h>



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

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

#include "jtag.h"
#include <jtag/jtag.h>

int svf_register_commands(struct command_context *cmd_ctx);



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

@@ -23,7 +23,7 @@

#include "armv4_5.h" /* REVISIT to become arm.h */
#include "arm_dpm.h"
#include "jtag.h"
#include <jtag/jtag.h>
#include "register.h"
#include "breakpoints.h"
#include "target_type.h"


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

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

#include "jtag.h"
#include <jtag/jtag.h>

struct arm_jtag
{


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

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

#include "jtag.h"
#include <jtag/jtag.h>

struct mcu_jtag
{


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

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

#include "jtag.h"
#include <jtag/jtag.h>

/* tap instructions */
#define EJTAG_INST_IDCODE 0x01


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

@@ -41,7 +41,7 @@
#include "register.h"
#include "trace.h"
#include "image.h"
#include "jtag.h"
#include <jtag/jtag.h>


static int target_array2mem(Jim_Interp *interp, struct target *target, int argc, Jim_Obj *const *argv);


+ 1
- 1
src/xsvf/xsvf.c View File

@@ -41,7 +41,7 @@
#endif

#include "xsvf.h"
#include "jtag.h"
#include <jtag/jtag.h>
#include "svf.h"




Loading…
Cancel
Save