From 7da02a8330d48f05f1ea9af93adb572f083aa728 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Thu, 3 Dec 2009 04:14:47 -0800 Subject: [PATCH] change #include "image.h" to Changes from the flat namespace to heirarchical one. Instead of writing: #include "image.h" the following form should be used. #include The exception is from .c files in the same directory. --- src/flash/flash.c | 2 +- src/flash/nor/ecos.c | 2 +- src/flash/nor/faux.c | 2 +- src/flash/nor/lpc2900.c | 2 +- src/server/gdb_server.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/flash/flash.c b/src/flash/flash.c index e910e42f9b..d16949da4c 100644 --- a/src/flash/flash.c +++ b/src/flash/flash.c @@ -29,7 +29,7 @@ #include "flash.h" #include "common.h" -#include "image.h" +#include #include static int flash_write_unlock(struct target *target, struct image *image, uint32_t *written, int erase, bool unlock); diff --git a/src/flash/nor/ecos.c b/src/flash/nor/ecos.c index ca8f3f519b..81223b688b 100644 --- a/src/flash/nor/ecos.c +++ b/src/flash/nor/ecos.c @@ -23,7 +23,7 @@ #include "flash.h" #include -#include "image.h" +#include #include diff --git a/src/flash/nor/faux.c b/src/flash/nor/faux.c index caec2c791f..124ca3e1fc 100644 --- a/src/flash/nor/faux.c +++ b/src/flash/nor/faux.c @@ -22,7 +22,7 @@ #endif #include "flash.h" -#include "image.h" +#include #include "../hello.h" diff --git a/src/flash/nor/lpc2900.c b/src/flash/nor/lpc2900.c index cf746794f6..c1fefd70c3 100644 --- a/src/flash/nor/lpc2900.c +++ b/src/flash/nor/lpc2900.c @@ -23,7 +23,7 @@ #endif -#include "image.h" +#include #include "flash.h" #include #include diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c index 5cda21e235..cd8c46cd49 100644 --- a/src/server/gdb_server.c +++ b/src/server/gdb_server.c @@ -33,7 +33,7 @@ #include "server.h" #include "flash.h" #include "gdb_server.h" -#include "image.h" +#include #include -- 2.30.2