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:
parent
35f1a40f6f
commit
c79cca04be
|
@ -21,7 +21,7 @@
|
|||
#endif
|
||||
|
||||
#include "common.h"
|
||||
#include "log.h"
|
||||
#include <helper/log.h>
|
||||
|
||||
unsigned get_flash_name_index(const char *name)
|
||||
{
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#define FLASH_H
|
||||
|
||||
#include "target.h"
|
||||
#include "log.h"
|
||||
#include <helper/log.h>
|
||||
|
||||
struct image;
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include "target.h"
|
||||
#include "time_support.h"
|
||||
#include <helper/fileio.h>
|
||||
#include "log.h"
|
||||
#include <helper/log.h>
|
||||
|
||||
|
||||
static int s3c2440_set_gpio_to_output (struct mflash_gpio_num gpio);
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
#include "log.h"
|
||||
#include <helper/log.h>
|
||||
|
||||
COMMAND_HANDLER(handle_foo_command)
|
||||
{
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#define JTAG_H
|
||||
|
||||
#include <helper/binarybuffer.h>
|
||||
#include "log.h"
|
||||
#include <helper/log.h>
|
||||
|
||||
#ifdef _DEBUG_JTAG_IO_
|
||||
#define DEBUG_JTAG_IO(expr ...) \
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#endif
|
||||
|
||||
#include "pld.h"
|
||||
#include "log.h"
|
||||
#include <helper/log.h>
|
||||
#include "time_support.h"
|
||||
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include "xilinx_bit.h"
|
||||
#include "pld.h"
|
||||
#include "log.h"
|
||||
#include <helper/log.h>
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include <config.h>
|
||||
#endif
|
||||
#include "httpd.h"
|
||||
#include "log.h"
|
||||
#include <helper/log.h>
|
||||
|
||||
int httpd_start(struct command_context *cmd_ctx)
|
||||
{
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#ifndef SERVER_H
|
||||
#define SERVER_H
|
||||
|
||||
#include "log.h"
|
||||
#include <helper/log.h>
|
||||
|
||||
#ifdef HAVE_NETINET_IN_H
|
||||
#include <netinet/in.h>
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#include "target.h"
|
||||
#include "arm_disassembler.h"
|
||||
#include "log.h"
|
||||
#include <helper/log.h>
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include "arm_simulator.h"
|
||||
#include <helper/binarybuffer.h>
|
||||
#include "register.h"
|
||||
#include "log.h"
|
||||
#include <helper/log.h>
|
||||
|
||||
|
||||
static uint32_t arm_shift(uint8_t shift, uint32_t Rm,
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#endif
|
||||
|
||||
#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)
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "log.h"
|
||||
#include <helper/log.h>
|
||||
#include "target.h"
|
||||
#include "armv4_5_mmu.h"
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#endif
|
||||
|
||||
#include "target.h"
|
||||
#include "log.h"
|
||||
#include <helper/log.h>
|
||||
#include "breakpoints.h"
|
||||
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
#include "image.h"
|
||||
#include "target.h"
|
||||
#include "log.h"
|
||||
#include <helper/log.h>
|
||||
|
||||
|
||||
/* convert ELF header field to host endianness */
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
#include "types.h"
|
||||
#include "register.h"
|
||||
#include "log.h"
|
||||
#include <helper/log.h>
|
||||
|
||||
/**
|
||||
* @file
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include "target_type.h"
|
||||
#include <helper/binarybuffer.h>
|
||||
#include "trace.h"
|
||||
#include "log.h"
|
||||
#include <helper/log.h>
|
||||
|
||||
|
||||
static int charmsg_mode = 0;
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#endif
|
||||
#include "target.h"
|
||||
#include "target_type.h"
|
||||
#include "log.h"
|
||||
#include <helper/log.h>
|
||||
#include "../hello.h"
|
||||
|
||||
static const struct command_registration testee_command_handlers[] = {
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "log.h"
|
||||
#include <helper/log.h>
|
||||
#include "trace.h"
|
||||
#include "target.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue