diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-09 04:22:23 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-09 09:44:33 -0800 |
commit | 3885ab5a5af7ece410ce3eeb1059da3ea950436a (patch) | |
tree | 97f0ec5c6570c5d87ba42819bde60be9fee6f0b5 /src/target/register.h | |
parent | 42cafc9369088d2a5d5f633358a2a42aa7bbc0de (diff) | |
download | riscv-openocd-3885ab5a5af7ece410ce3eeb1059da3ea950436a.zip riscv-openocd-3885ab5a5af7ece410ce3eeb1059da3ea950436a.tar.gz riscv-openocd-3885ab5a5af7ece410ce3eeb1059da3ea950436a.tar.bz2 |
src/target: remove 'extern' and wrap headers
Remove extern keywords from function prototypes and wrap long lines.
Diffstat (limited to 'src/target/register.h')
-rw-r--r-- | src/target/register.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/target/register.h b/src/target/register.h index d139379..e7904e5 100644 --- a/src/target/register.h +++ b/src/target/register.h @@ -62,10 +62,13 @@ typedef struct reg_arch_type_s struct reg_arch_type_s *next; } reg_arch_type_t; -extern reg_t* register_get_by_name(reg_cache_t *first, char *name, int search_all); -extern reg_cache_t** register_get_last_cache_p(reg_cache_t **first); -extern int register_reg_arch_type(int (*get)(reg_t *reg), int (*set)(reg_t *reg, uint8_t *buf)); -extern reg_arch_type_t* register_get_arch_type(int id); -extern void register_init_dummy(reg_t *reg); +reg_t* register_get_by_name(reg_cache_t *first, char *name, int search_all); +reg_cache_t** register_get_last_cache_p(reg_cache_t **first); + +int register_reg_arch_type(int (*get)(reg_t *reg), + int (*set)(reg_t *reg, uint8_t *buf)); +reg_arch_type_t* register_get_arch_type(int id); + +void register_init_dummy(reg_t *reg); #endif /* REGISTER_H */ |