diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-12-03 04:15:03 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-12-03 04:24:49 -0800 |
commit | c538a830cdaafa92c9e9a624d84915cc39cce05b (patch) | |
tree | 031745d2af5e15c078112a491edcf2025dd25f6b /src/helper | |
parent | 6db3ed48c6d152446dafc70b8495970cd2b22d3a (diff) | |
download | openocd+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.c | 2 | ||||
-rw-r--r-- | src/helper/options.c | 2 |
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> |