From: Zachary T Welch Date: Thu, 3 Dec 2009 12:14:26 +0000 (-0800) Subject: change #include "fileio.h" to X-Git-Tag: v0.4.0-rc1~199 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=14ed20967f660ca888bba53c47c1c648f470f8e2;p=openocd 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. --- 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