From 14ed20967f660ca888bba53c47c1c648f470f8e2 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Thu, 3 Dec 2009 04:14:26 -0800 Subject: [PATCH] change #include "fileio.h" to Changes from the flat namespace to heirarchical one. Instead of writing: #include "fileio.h" the following form should be used. #include The exception is from .c files in the same directory. --- src/flash/mflash.c | 2 +- src/flash/nand.c | 2 +- src/target/image.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/flash/mflash.c b/src/flash/mflash.c index 8f42aa6e..72faae22 100644 --- a/src/flash/mflash.c +++ b/src/flash/mflash.c @@ -24,7 +24,7 @@ #include "mflash.h" #include "target.h" #include "time_support.h" -#include "fileio.h" +#include #include "log.h" diff --git a/src/flash/nand.c b/src/flash/nand.c index 1c8c0c87..087a9ae4 100644 --- a/src/flash/nand.c +++ b/src/flash/nand.c @@ -27,7 +27,7 @@ #include "nand.h" #include "common.h" #include "time_support.h" -#include "fileio.h" +#include static int nand_read_page(struct nand_device *nand, uint32_t page, uint8_t *data, uint32_t data_size, uint8_t *oob, uint32_t oob_size); //static int nand_read_plain(struct nand_device *nand, uint32_t address, uint8_t *data, uint32_t data_size); diff --git a/src/target/image.h b/src/target/image.h index 0dac5bae..e963b3c1 100644 --- a/src/target/image.h +++ b/src/target/image.h @@ -26,7 +26,7 @@ #ifndef IMAGE_H #define IMAGE_H -#include "fileio.h" +#include #ifdef HAVE_ELF_H #include -- 2.39.5