summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-12-03 04:14:51 -0800
committerZachary T Welch <zw@superlucidity.net>2009-12-03 04:24:42 -0800
commitc6dd6a576d0b680f67ad9fd8af12fb342b26c83d (patch)
tree442d881432bc6797131297a37556d457b0290940 /src
parentfa43bdff54a2f42e7c5a77304d8d1ffb3fe75ea5 (diff)
downloadopenocd+libswd-c6dd6a576d0b680f67ad9fd8af12fb342b26c83d.tar.gz
openocd+libswd-c6dd6a576d0b680f67ad9fd8af12fb342b26c83d.tar.bz2
openocd+libswd-c6dd6a576d0b680f67ad9fd8af12fb342b26c83d.tar.xz
openocd+libswd-c6dd6a576d0b680f67ad9fd8af12fb342b26c83d.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/flash/flash.h2
-rw-r--r--src/flash/mflash.c2
-rw-r--r--src/helper/command.c2
-rw-r--r--src/server/httpd.c2
-rw-r--r--src/server/server.c2
-rw-r--r--src/target/armv4_5.h2
-rw-r--r--src/target/mips32.h2
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>