diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2012-05-17 12:27:30 +0100 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2012-05-21 16:15:26 +0000 |
commit | 7bfcc10839d2a9190cb7ae9fae02280e643b3450 (patch) | |
tree | abc492151151ee445f06765ce20cfdea5bec9a4e /src/helper | |
parent | a34b38d621d3598979aecd83a821258bf87a3591 (diff) |
build: add helper/types.h to config.h
this header is used in numerous files and adding to config.h
simplifies its use globally.
Change-Id: Id724a9950b90504721233022c7fb5768e9bc5548
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/649
Tested-by: jenkins
Reviewed-by: Xiaofan <xiaofanc@gmail.com>
Diffstat (limited to 'src/helper')
-rw-r--r-- | src/helper/binarybuffer.h | 2 | ||||
-rw-r--r-- | src/helper/command.h | 2 | ||||
-rw-r--r-- | src/helper/fileio.h | 2 | ||||
-rw-r--r-- | src/helper/replacements.h | 4 |
4 files changed, 0 insertions, 10 deletions
diff --git a/src/helper/binarybuffer.h b/src/helper/binarybuffer.h index a289abd9..6b142dd1 100644 --- a/src/helper/binarybuffer.h +++ b/src/helper/binarybuffer.h @@ -24,8 +24,6 @@ #ifndef BINARYBUFFER_H #define BINARYBUFFER_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 7cd5cc4c..6c0e0f6d 100644 --- a/src/helper/command.h +++ b/src/helper/command.h @@ -24,8 +24,6 @@ #ifndef COMMAND_H #define COMMAND_H -#include <helper/types.h> - #include <jim.h> #include <jim-nvp.h> diff --git a/src/helper/fileio.h b/src/helper/fileio.h index bd644245..25b079de 100644 --- a/src/helper/fileio.h +++ b/src/helper/fileio.h @@ -27,8 +27,6 @@ #ifndef FILEIO_H #define FILEIO_H -#include <helper/types.h> - #define FILEIO_MAX_ERROR_STRING (128) enum fileio_type { diff --git a/src/helper/replacements.h b/src/helper/replacements.h index bdd3ae7c..7c2e44b0 100644 --- a/src/helper/replacements.h +++ b/src/helper/replacements.h @@ -139,8 +139,6 @@ static inline unsigned usleep(unsigned int usecs) #include <windows.h> #include <time.h> -#include <helper/types.h> - /* Windows does not declare sockaddr_un */ #define UNIX_PATH_LEN 108 struct sockaddr_un { @@ -230,8 +228,6 @@ static inline int socket_select(int max_fd, #ifndef HAVE_ELF_H -#include <helper/types.h> - typedef uint32_t Elf32_Addr; typedef uint16_t Elf32_Half; typedef uint32_t Elf32_Off; |