Browse Source

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

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

	#include "target.h"

the following form should be used.

	#include <target/target.h>

The exception is from .c files in the same directory.
tags/v0.4.0-rc1
Zachary T Welch 14 years ago
parent
commit
c6dd6a576d
7 changed files with 7 additions and 7 deletions
  1. +1
    -1
      src/flash/flash.h
  2. +1
    -1
      src/flash/mflash.c
  3. +1
    -1
      src/helper/command.c
  4. +1
    -1
      src/server/httpd.c
  5. +1
    -1
      src/server/server.c
  6. +1
    -1
      src/target/armv4_5.h
  7. +1
    -1
      src/target/mips32.h

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

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

#include "target.h"
#include <target/target.h>
#include <helper/log.h>

struct image;


+ 1
- 1
src/flash/mflash.c View File

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

#include "mflash.h"
#include "target.h"
#include <target/target.h>
#include <helper/time_support.h>
#include <helper/fileio.h>
#include <helper/log.h>


+ 1
- 1
src/helper/command.c View File

@@ -36,7 +36,7 @@
#endif

// @todo the inclusion of target.h here is a layering violation
#include "target.h"
#include <target/target.h>
#include "command.h"
#include "configuration.h"
#include "log.h"


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

@@ -26,7 +26,7 @@
#endif

#include "telnet_server.h"
#include "target.h"
#include <target/target.h>

#include <microhttpd.h>
#include <pthread.h>


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

@@ -28,7 +28,7 @@
#endif

#include "server.h"
#include "target.h"
#include <target/target.h>
#include "openocd.h"
#include "tcl_server.h"
#include "telnet_server.h"


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

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

#include "target.h"
#include <target/target.h>
#include <helper/command.h>




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

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

#include "target.h"
#include <target/target.h>
#include <target/mips32_pracc.h>




Loading…
Cancel
Save