summaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-12-03 04:14:28 -0800
committerZachary T Welch <zw@superlucidity.net>2009-12-03 04:22:52 -0800
commitc79cca04bed78839a18e73f3996805eb8001a812 (patch)
treeef31b13038a68d5d864c005d9ef5c736528fe6c3 /src/flash
parent35f1a40f6fad146db9d5546c47c45472d0ef0bed (diff)
downloadopenocd+libswd-c79cca04bed78839a18e73f3996805eb8001a812.tar.gz
openocd+libswd-c79cca04bed78839a18e73f3996805eb8001a812.tar.bz2
openocd+libswd-c79cca04bed78839a18e73f3996805eb8001a812.tar.xz
openocd+libswd-c79cca04bed78839a18e73f3996805eb8001a812.zip
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.
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/common.c2
-rw-r--r--src/flash/flash.h2
-rw-r--r--src/flash/mflash.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/flash/common.c b/src/flash/common.c
index 072e6912..17bc81c2 100644
--- a/src/flash/common.c
+++ b/src/flash/common.c
@@ -21,7 +21,7 @@
#endif
#include "common.h"
-#include "log.h"
+#include <helper/log.h>
unsigned get_flash_name_index(const char *name)
{
diff --git a/src/flash/flash.h b/src/flash/flash.h
index 92727bf9..fea7372c 100644
--- a/src/flash/flash.h
+++ b/src/flash/flash.h
@@ -27,7 +27,7 @@
#define FLASH_H
#include "target.h"
-#include "log.h"
+#include <helper/log.h>
struct image;
diff --git a/src/flash/mflash.c b/src/flash/mflash.c
index 72faae22..43d8ddd3 100644
--- a/src/flash/mflash.c
+++ b/src/flash/mflash.c
@@ -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);