change #include "server.h" to <server/server.h>
Changes from the flat namespace to heirarchical one. Instead of writing: #include "server.h" the following form should be used. #include <server/server.h> The exception is from .c files in the same directory.
This commit is contained in:
parent
6db3ed48c6
commit
c538a830cd
|
@ -30,7 +30,7 @@
|
|||
#include <flash/nand.h>
|
||||
#include "pld.h"
|
||||
|
||||
#include "server.h"
|
||||
#include <server/server.h>
|
||||
#include "telnet_server.h"
|
||||
#include <server/gdb_server.h>
|
||||
#include "openocd.h"
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
#include "time_support.h"
|
||||
// @todo the inclusion of server.h here is a layering violation
|
||||
#include "server.h"
|
||||
#include <server/server.h>
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
#include "configuration.h"
|
||||
// @todo the inclusion of server.h here is a layering violation
|
||||
#include "server.h"
|
||||
#include <server/server.h>
|
||||
|
||||
#include <getopt.h>
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
#include "pld.h"
|
||||
#include <flash/mflash.h>
|
||||
|
||||
#include "server.h"
|
||||
#include <server/server.h>
|
||||
#include <server/gdb_server.h>
|
||||
#include <server/httpd.h>
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#ifndef _TCL_SERVER_H_
|
||||
#define _TCL_SERVER_H_
|
||||
|
||||
#include "server.h"
|
||||
#include <server/server.h>
|
||||
|
||||
int tcl_init(struct command_context *cmd_ctx);
|
||||
int tcl_register_commands(struct command_context *cmd_ctx);
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#ifndef TELNET_SERVER_H
|
||||
#define TELNET_SERVER_H
|
||||
|
||||
#include "server.h"
|
||||
#include <server/server.h>
|
||||
|
||||
#define TELNET_BUFFER_SIZE (1024)
|
||||
|
||||
|
|
Loading…
Reference in New Issue