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

Changes from the flat namespace to heirarchical one.  Instead of writing:

	#include "log.h"

the following form should be used.

	#include <helper/log.h>

The exception is from .c files in the same directory.
This commit is contained in:
Zachary T Welch 2009-12-03 04:14:28 -08:00
parent 35f1a40f6f
commit c79cca04be
19 changed files with 19 additions and 19 deletions

View File

@ -21,7 +21,7 @@
#endif #endif
#include "common.h" #include "common.h"
#include "log.h" #include <helper/log.h>
unsigned get_flash_name_index(const char *name) unsigned get_flash_name_index(const char *name)
{ {

View File

@ -27,7 +27,7 @@
#define FLASH_H #define FLASH_H
#include "target.h" #include "target.h"
#include "log.h" #include <helper/log.h>
struct image; struct image;

View File

@ -25,7 +25,7 @@
#include "target.h" #include "target.h"
#include "time_support.h" #include "time_support.h"
#include <helper/fileio.h> #include <helper/fileio.h>
#include "log.h" #include <helper/log.h>
static int s3c2440_set_gpio_to_output (struct mflash_gpio_num gpio); static int s3c2440_set_gpio_to_output (struct mflash_gpio_num gpio);

View File

@ -20,7 +20,7 @@
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include <config.h> #include <config.h>
#endif #endif
#include "log.h" #include <helper/log.h>
COMMAND_HANDLER(handle_foo_command) COMMAND_HANDLER(handle_foo_command)
{ {

View File

@ -24,7 +24,7 @@
#define JTAG_H #define JTAG_H
#include <helper/binarybuffer.h> #include <helper/binarybuffer.h>
#include "log.h" #include <helper/log.h>
#ifdef _DEBUG_JTAG_IO_ #ifdef _DEBUG_JTAG_IO_
#define DEBUG_JTAG_IO(expr ...) \ #define DEBUG_JTAG_IO(expr ...) \

View File

@ -22,7 +22,7 @@
#endif #endif
#include "pld.h" #include "pld.h"
#include "log.h" #include <helper/log.h>
#include "time_support.h" #include "time_support.h"

View File

@ -23,7 +23,7 @@
#include "xilinx_bit.h" #include "xilinx_bit.h"
#include "pld.h" #include "pld.h"
#include "log.h" #include <helper/log.h>
#include <sys/stat.h> #include <sys/stat.h>

View File

@ -21,7 +21,7 @@
#include <config.h> #include <config.h>
#endif #endif
#include "httpd.h" #include "httpd.h"
#include "log.h" #include <helper/log.h>
int httpd_start(struct command_context *cmd_ctx) int httpd_start(struct command_context *cmd_ctx)
{ {

View File

@ -26,7 +26,7 @@
#ifndef SERVER_H #ifndef SERVER_H
#define SERVER_H #define SERVER_H
#include "log.h" #include <helper/log.h>
#ifdef HAVE_NETINET_IN_H #ifdef HAVE_NETINET_IN_H
#include <netinet/in.h> #include <netinet/in.h>

View File

@ -25,7 +25,7 @@
#include "target.h" #include "target.h"
#include "arm_disassembler.h" #include "arm_disassembler.h"
#include "log.h" #include <helper/log.h>
/* /*

View File

@ -29,7 +29,7 @@
#include "arm_simulator.h" #include "arm_simulator.h"
#include <helper/binarybuffer.h> #include <helper/binarybuffer.h>
#include "register.h" #include "register.h"
#include "log.h" #include <helper/log.h>
static uint32_t arm_shift(uint8_t shift, uint32_t Rm, static uint32_t arm_shift(uint8_t shift, uint32_t Rm,

View File

@ -22,7 +22,7 @@
#endif #endif
#include "armv4_5_cache.h" #include "armv4_5_cache.h"
#include "log.h" #include <helper/log.h>
int armv4_5_identify_cache(uint32_t cache_type_reg, struct armv4_5_cache_common *cache) int armv4_5_identify_cache(uint32_t cache_type_reg, struct armv4_5_cache_common *cache)
{ {

View File

@ -21,7 +21,7 @@
#include "config.h" #include "config.h"
#endif #endif
#include "log.h" #include <helper/log.h>
#include "target.h" #include "target.h"
#include "armv4_5_mmu.h" #include "armv4_5_mmu.h"

View File

@ -22,7 +22,7 @@
#endif #endif
#include "target.h" #include "target.h"
#include "log.h" #include <helper/log.h>
#include "breakpoints.h" #include "breakpoints.h"

View File

@ -32,7 +32,7 @@
#include "image.h" #include "image.h"
#include "target.h" #include "target.h"
#include "log.h" #include <helper/log.h>
/* convert ELF header field to host endianness */ /* convert ELF header field to host endianness */

View File

@ -26,7 +26,7 @@
#include "types.h" #include "types.h"
#include "register.h" #include "register.h"
#include "log.h" #include <helper/log.h>
/** /**
* @file * @file

View File

@ -32,7 +32,7 @@
#include "target_type.h" #include "target_type.h"
#include <helper/binarybuffer.h> #include <helper/binarybuffer.h>
#include "trace.h" #include "trace.h"
#include "log.h" #include <helper/log.h>
static int charmsg_mode = 0; static int charmsg_mode = 0;

View File

@ -22,7 +22,7 @@
#endif #endif
#include "target.h" #include "target.h"
#include "target_type.h" #include "target_type.h"
#include "log.h" #include <helper/log.h>
#include "../hello.h" #include "../hello.h"
static const struct command_registration testee_command_handlers[] = { static const struct command_registration testee_command_handlers[] = {

View File

@ -21,7 +21,7 @@
#include "config.h" #include "config.h"
#endif #endif
#include "log.h" #include <helper/log.h>
#include "trace.h" #include "trace.h"
#include "target.h" #include "target.h"