change #include "image.h" to <target/image.h>
authorZachary T Welch <zw@superlucidity.net>
Thu, 3 Dec 2009 12:14:47 +0000 (04:14 -0800)
committerZachary T Welch <zw@superlucidity.net>
Thu, 3 Dec 2009 12:24:41 +0000 (04:24 -0800)
Changes from the flat namespace to heirarchical one.  Instead of writing:

#include "image.h"

the following form should be used.

#include <target/image.h>

The exception is from .c files in the same directory.

src/flash/flash.c
src/flash/nor/ecos.c
src/flash/nor/faux.c
src/flash/nor/lpc2900.c
src/server/gdb_server.c

index e910e42f9bc5e45026589e674f77fb691a4bcdd5..d16949da4cb5e28b9a5f5ff320e06703aeef7c15 100644 (file)
@@ -29,7 +29,7 @@
 
 #include "flash.h"
 #include "common.h"
-#include "image.h"
+#include <target/image.h>
 #include <helper/time_support.h>
 
 static int flash_write_unlock(struct target *target, struct image *image, uint32_t *written, int erase, bool unlock);
index ca8f3f519b74941c5ee857269528b006db24161c..81223b688b32932b7b34e62d387038158c50a2f2 100644 (file)
@@ -23,7 +23,7 @@
 
 #include "flash.h"
 #include <target/embeddedice.h>
-#include "image.h"
+#include <target/image.h>
 #include <target/algorithm.h>
 
 
index caec2c791f39d7350facf10aecb4bf351fc2da66..124ca3e1fc0f5bc50b2cf3ea01f3c19a76660743 100644 (file)
@@ -22,7 +22,7 @@
 #endif
 
 #include "flash.h"
-#include "image.h"
+#include <target/image.h>
 #include "../hello.h"
 
 
index cf746794f6932838c8b34abeed67a2fca5773d17..c1fefd70c375d3710a89ea4fb81a888b4af11432 100644 (file)
@@ -23,7 +23,7 @@
 #endif
 
 
-#include "image.h"
+#include <target/image.h>
 #include "flash.h"
 #include <helper/binarybuffer.h>
 #include <target/armv4_5.h>
index 5cda21e235aec71adbd5aed799fc28c054282439..cd8c46cd491aa2b1356dce8b360cfcb2dee675a3 100644 (file)
@@ -33,7 +33,7 @@
 #include "server.h"
 #include "flash.h"
 #include "gdb_server.h"
-#include "image.h"
+#include <target/image.h>
 #include <jtag/jtag.h>