Browse Source

change #include "fileio.h" to <helper/fileio.h>

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.
tags/v0.4.0-rc1
Zachary T Welch 14 years ago
parent
commit
14ed20967f
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      src/flash/mflash.c
  2. +1
    -1
      src/flash/nand.c
  3. +1
    -1
      src/target/image.h

+ 1
- 1
src/flash/mflash.c View 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"




+ 1
- 1
src/flash/nand.c View 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);


+ 1
- 1
src/target/image.h View 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>


Loading…
Cancel
Save