summaryrefslogtreecommitdiff
path: root/src/helper
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-12-03 04:15:03 -0800
committerZachary T Welch <zw@superlucidity.net>2009-12-03 04:24:49 -0800
commitc538a830cdaafa92c9e9a624d84915cc39cce05b (patch)
tree031745d2af5e15c078112a491edcf2025dd25f6b /src/helper
parent6db3ed48c6d152446dafc70b8495970cd2b22d3a (diff)
downloadopenocd+libswd-c538a830cdaafa92c9e9a624d84915cc39cce05b.tar.gz
openocd+libswd-c538a830cdaafa92c9e9a624d84915cc39cce05b.tar.bz2
openocd+libswd-c538a830cdaafa92c9e9a624d84915cc39cce05b.tar.xz
openocd+libswd-c538a830cdaafa92c9e9a624d84915cc39cce05b.zip
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.
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/log.c2
-rw-r--r--src/helper/options.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/helper/log.c b/src/helper/log.c
index 3067ecc5..6adde4b9 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 <server/server.h>
#include <stdarg.h>
diff --git a/src/helper/options.c b/src/helper/options.c
index 3db96fd7..573026a6 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 <server/server.h>
#include <getopt.h>