From c538a830cdaafa92c9e9a624d84915cc39cce05b Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Thu, 3 Dec 2009 04:15:03 -0800 Subject: change #include "server.h" to Changes from the flat namespace to heirarchical one. Instead of writing: #include "server.h" the following form should be used. #include The exception is from .c files in the same directory. --- src/ecosboard.c | 2 +- src/helper/log.c | 2 +- src/helper/options.c | 2 +- src/openocd.c | 2 +- src/server/tcl_server.h | 2 +- src/server/telnet_server.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ecosboard.c b/src/ecosboard.c index d94f8b4..53ad7ba 100644 --- a/src/ecosboard.c +++ b/src/ecosboard.c @@ -30,7 +30,7 @@ #include #include "pld.h" -#include "server.h" +#include #include "telnet_server.h" #include #include "openocd.h" diff --git a/src/helper/log.c b/src/helper/log.c index 3067ecc..6adde4b 100644 --- a/src/helper/log.c +++ b/src/helper/log.c @@ -29,7 +29,7 @@ #include "time_support.h" // @todo the inclusion of server.h here is a layering violation -#include "server.h" +#include #include diff --git a/src/helper/options.c b/src/helper/options.c index 3db96fd..573026a 100644 --- a/src/helper/options.c +++ b/src/helper/options.c @@ -26,7 +26,7 @@ #include "configuration.h" // @todo the inclusion of server.h here is a layering violation -#include "server.h" +#include #include diff --git a/src/openocd.c b/src/openocd.c index 58ad617..cbb28b7 100644 --- a/src/openocd.c +++ b/src/openocd.c @@ -38,7 +38,7 @@ #include "pld.h" #include -#include "server.h" +#include #include #include diff --git a/src/server/tcl_server.h b/src/server/tcl_server.h index e0d7b16..68ad821 100644 --- a/src/server/tcl_server.h +++ b/src/server/tcl_server.h @@ -20,7 +20,7 @@ #ifndef _TCL_SERVER_H_ #define _TCL_SERVER_H_ -#include "server.h" +#include int tcl_init(struct command_context *cmd_ctx); int tcl_register_commands(struct command_context *cmd_ctx); diff --git a/src/server/telnet_server.h b/src/server/telnet_server.h index 7e39822..b0c5ceb 100644 --- a/src/server/telnet_server.h +++ b/src/server/telnet_server.h @@ -26,7 +26,7 @@ #ifndef TELNET_SERVER_H #define TELNET_SERVER_H -#include "server.h" +#include #define TELNET_BUFFER_SIZE (1024) -- cgit v1.1