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

#include "fileio.h"

the following form should be used.

#include <helper/fileio.h>

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

src/flash/mflash.c
src/flash/nand.c
src/target/image.h

index 8f42aa6e5fe038a3ffdffa3b19b56039c998a17d..72faae224123a10c6ea7d5424175afc5841abf14 100644 (file)
@@ -24,7 +24,7 @@
 #include "mflash.h"
 #include "target.h"
 #include "time_support.h"
-#include "fileio.h"
+#include <helper/fileio.h>
 #include "log.h"
 
 
index 1c8c0c87c3cd1639fcf633ac12e8eef11044f76e..087a9ae45639feafef4181c5b1902fc853950119 100644 (file)
@@ -27,7 +27,7 @@
 #include "nand.h"
 #include "common.h"
 #include "time_support.h"
-#include "fileio.h"
+#include <helper/fileio.h>
 
 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);
index 0dac5baed7d83d4e843ee736a571c5f51f5556c7..e963b3c10a32c817f09fdc25112a5aa719e9e5e4 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef IMAGE_H
 #define IMAGE_H
 
-#include "fileio.h"
+#include <helper/fileio.h>
 
 #ifdef HAVE_ELF_H
 #include <elf.h>