diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-12-03 04:14:51 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-12-03 04:24:42 -0800 |
commit | c6dd6a576d0b680f67ad9fd8af12fb342b26c83d (patch) | |
tree | 442d881432bc6797131297a37556d457b0290940 | |
parent | fa43bdff54a2f42e7c5a77304d8d1ffb3fe75ea5 (diff) |
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.
-rw-r--r-- | src/flash/flash.h | 2 | ||||
-rw-r--r-- | src/flash/mflash.c | 2 | ||||
-rw-r--r-- | src/helper/command.c | 2 | ||||
-rw-r--r-- | src/server/httpd.c | 2 | ||||
-rw-r--r-- | src/server/server.c | 2 | ||||
-rw-r--r-- | src/target/armv4_5.h | 2 | ||||
-rw-r--r-- | src/target/mips32.h | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/src/flash/flash.h b/src/flash/flash.h index fea7372c..5e31c48b 100644 --- a/src/flash/flash.h +++ b/src/flash/flash.h @@ -26,7 +26,7 @@ #ifndef FLASH_H #define FLASH_H -#include "target.h" +#include <target/target.h> #include <helper/log.h> struct image; diff --git a/src/flash/mflash.c b/src/flash/mflash.c index 63e71db1..aa02e157 100644 --- a/src/flash/mflash.c +++ b/src/flash/mflash.c @@ -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> diff --git a/src/helper/command.c b/src/helper/command.c index d6576684..76050efd 100644 --- a/src/helper/command.c +++ b/src/helper/command.c @@ -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" diff --git a/src/server/httpd.c b/src/server/httpd.c index b346ca2e..9554ff0e 100644 --- a/src/server/httpd.c +++ b/src/server/httpd.c @@ -26,7 +26,7 @@ #endif #include "telnet_server.h" -#include "target.h" +#include <target/target.h> #include <microhttpd.h> #include <pthread.h> diff --git a/src/server/server.c b/src/server/server.c index 0f977a76..2f4bfb00 100644 --- a/src/server/server.c +++ b/src/server/server.c @@ -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" diff --git a/src/target/armv4_5.h b/src/target/armv4_5.h index 9b6237bc..6c83c3b3 100644 --- a/src/target/armv4_5.h +++ b/src/target/armv4_5.h @@ -26,7 +26,7 @@ #ifndef ARMV4_5_H #define ARMV4_5_H -#include "target.h" +#include <target/target.h> #include <helper/command.h> diff --git a/src/target/mips32.h b/src/target/mips32.h index ee5bd421..98186aff 100644 --- a/src/target/mips32.h +++ b/src/target/mips32.h @@ -23,7 +23,7 @@ #ifndef MIPS32_H #define MIPS32_H -#include "target.h" +#include <target/target.h> #include <target/mips32_pracc.h> |