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.tags/v0.4.0-rc1
@@ -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) | ||||
{ | { | ||||
@@ -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; | ||||
@@ -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); | ||||
@@ -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) | ||||
{ | { | ||||
@@ -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 ...) \ | ||||
@@ -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" | ||||
@@ -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> | ||||
@@ -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) | ||||
{ | { | ||||
@@ -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> | ||||
@@ -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> | |||||
/* | /* | ||||
@@ -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, | ||||
@@ -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) | ||||
{ | { | ||||
@@ -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" | ||||
@@ -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" | ||||
@@ -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 */ | ||||
@@ -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 | ||||
@@ -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; | ||||
@@ -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[] = { | ||||
@@ -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" | ||||