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.
__archive__
Zachary T Welch 2009-12-03 04:14:51 -08:00
parent fa43bdff54
commit c6dd6a576d
7 changed files with 7 additions and 7 deletions

View File

@ -26,7 +26,7 @@
#ifndef FLASH_H #ifndef FLASH_H
#define FLASH_H #define FLASH_H
#include "target.h" #include <target/target.h>
#include <helper/log.h> #include <helper/log.h>
struct image; struct image;

View File

@ -22,7 +22,7 @@
#endif #endif
#include "mflash.h" #include "mflash.h"
#include "target.h" #include <target/target.h>
#include <helper/time_support.h> #include <helper/time_support.h>
#include <helper/fileio.h> #include <helper/fileio.h>
#include <helper/log.h> #include <helper/log.h>

View File

@ -36,7 +36,7 @@
#endif #endif
// @todo the inclusion of target.h here is a layering violation // @todo the inclusion of target.h here is a layering violation
#include "target.h" #include <target/target.h>
#include "command.h" #include "command.h"
#include "configuration.h" #include "configuration.h"
#include "log.h" #include "log.h"

View File

@ -26,7 +26,7 @@
#endif #endif
#include "telnet_server.h" #include "telnet_server.h"
#include "target.h" #include <target/target.h>
#include <microhttpd.h> #include <microhttpd.h>
#include <pthread.h> #include <pthread.h>

View File

@ -28,7 +28,7 @@
#endif #endif
#include "server.h" #include "server.h"
#include "target.h" #include <target/target.h>
#include "openocd.h" #include "openocd.h"
#include "tcl_server.h" #include "tcl_server.h"
#include "telnet_server.h" #include "telnet_server.h"

View File

@ -26,7 +26,7 @@
#ifndef ARMV4_5_H #ifndef ARMV4_5_H
#define ARMV4_5_H #define ARMV4_5_H
#include "target.h" #include <target/target.h>
#include <helper/command.h> #include <helper/command.h>

View File

@ -23,7 +23,7 @@
#ifndef MIPS32_H #ifndef MIPS32_H
#define MIPS32_H #define MIPS32_H
#include "target.h" #include <target/target.h>
#include <target/mips32_pracc.h> #include <target/mips32_pracc.h>