summaryrefslogtreecommitdiff
path: root/src/helper
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-12-03 04:14:30 -0800
committerZachary T Welch <zw@superlucidity.net>2009-12-03 04:22:52 -0800
commitdf0e90ec8c728be50f1457ecc513d78de044f5a4 (patch)
tree73c1742fe3fb11deb8b2bd409af7bfcffab694f4 /src/helper
parent6512e5e36b067ae458cb7f6a9fdfb08d38da3583 (diff)
downloadopenocd+libswd-df0e90ec8c728be50f1457ecc513d78de044f5a4.tar.gz
openocd+libswd-df0e90ec8c728be50f1457ecc513d78de044f5a4.tar.bz2
openocd+libswd-df0e90ec8c728be50f1457ecc513d78de044f5a4.tar.xz
openocd+libswd-df0e90ec8c728be50f1457ecc513d78de044f5a4.zip
change #include "types.h" to <helper/types.h>
Changes from the flat namespace to heirarchical one. Instead of writing: #include "types.h" the following form should be used. #include <helper/types.h> The exception is from .c files in the same directory.
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/binarybuffer.h2
-rw-r--r--src/helper/command.h2
-rw-r--r--src/helper/fileio.h2
-rw-r--r--src/helper/replacements.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/helper/binarybuffer.h b/src/helper/binarybuffer.h
index 6275eaf1..ae0ee9a1 100644
--- a/src/helper/binarybuffer.h
+++ b/src/helper/binarybuffer.h
@@ -23,7 +23,7 @@
#ifndef BINARYBUFFER_H
#define BINARYBUFFER_H
-#include "types.h"
+#include <helper/types.h>
/** @file
* Support functions to access arbitrary bits in a byte array
diff --git a/src/helper/command.h b/src/helper/command.h
index 8beeb724..55046085 100644
--- a/src/helper/command.h
+++ b/src/helper/command.h
@@ -23,7 +23,7 @@
#ifndef COMMAND_H
#define COMMAND_H
-#include "types.h"
+#include <helper/types.h>
/* Integrate the JIM TCL interpretor into the command processing. */
#if BUILD_ECOSBOARD
diff --git a/src/helper/fileio.h b/src/helper/fileio.h
index 325b441f..597bafc0 100644
--- a/src/helper/fileio.h
+++ b/src/helper/fileio.h
@@ -26,7 +26,7 @@
#ifndef FILEIO_H
#define FILEIO_H
-#include "types.h"
+#include <helper/types.h>
#define FILEIO_MAX_ERROR_STRING (128)
diff --git a/src/helper/replacements.h b/src/helper/replacements.h
index a029674f..2b3ea73a 100644
--- a/src/helper/replacements.h
+++ b/src/helper/replacements.h
@@ -211,7 +211,7 @@ static __inline int socket_select(int max_fd, fd_set *rfds, fd_set *wfds, fd_set
#ifndef HAVE_ELF_H
-#include "types.h"
+#include <helper/types.h>
typedef uint32_t Elf32_Addr;
typedef uint16_t Elf32_Half;