diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2021-04-22 12:06:04 +0200 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2021-05-01 13:36:43 +0100 |
commit | ae86bd8e18047ab586e9ac4ca2eafd0bb008ae87 (patch) | |
tree | 47595d1d1d5151a7cc3c9c6e4d4ec06382fd98c9 | |
parent | 565129119f0dc345a6e7d16bb468ff15cb3b828d (diff) | |
download | riscv-openocd-ae86bd8e18047ab586e9ac4ca2eafd0bb008ae87.zip riscv-openocd-ae86bd8e18047ab586e9ac4ca2eafd0bb008ae87.tar.gz riscv-openocd-ae86bd8e18047ab586e9ac4ca2eafd0bb008ae87.tar.bz2 |
helper/replacements: remove unused typedef's
The ELF typedef's 'Elf32_Sword' and 'Elf32_Hashelt' are not used
within OpenOCD. Plus, being their name in CamelCase require extra
effort to include them in the exceptions for checkpatch.
Remove the unused typedef's.
Change-Id: I18f039567edd5b24dbb41df5406c154f31022ae7
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/6178
Tested-by: jenkins
Reviewed-by: Christian Hoff <christian.hoff@advantest.com>
-rw-r--r-- | src/helper/replacements.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/helper/replacements.h b/src/helper/replacements.h index fff2dde..a0c59a7 100644 --- a/src/helper/replacements.h +++ b/src/helper/replacements.h @@ -241,10 +241,8 @@ static inline int socket_select(int max_fd, typedef uint32_t Elf32_Addr; typedef uint16_t Elf32_Half; typedef uint32_t Elf32_Off; -typedef int32_t Elf32_Sword; typedef uint32_t Elf32_Word; typedef uint32_t Elf32_Size; -typedef Elf32_Off Elf32_Hashelt; #define EI_NIDENT 16 |