summaryrefslogtreecommitdiff
path: root/src/target/algorithm.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-09 04:22:23 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-09 09:44:33 -0800
commit3885ab5a5af7ece410ce3eeb1059da3ea950436a (patch)
tree97f0ec5c6570c5d87ba42819bde60be9fee6f0b5 /src/target/algorithm.h
parent42cafc9369088d2a5d5f633358a2a42aa7bbc0de (diff)
downloadopenocd+libswd-3885ab5a5af7ece410ce3eeb1059da3ea950436a.tar.gz
openocd+libswd-3885ab5a5af7ece410ce3eeb1059da3ea950436a.tar.bz2
openocd+libswd-3885ab5a5af7ece410ce3eeb1059da3ea950436a.tar.xz
openocd+libswd-3885ab5a5af7ece410ce3eeb1059da3ea950436a.zip
src/target: remove 'extern' and wrap headers
Remove extern keywords from function prototypes and wrap long lines.
Diffstat (limited to 'src/target/algorithm.h')
-rw-r--r--src/target/algorithm.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/target/algorithm.h b/src/target/algorithm.h
index 15e3cf22..600580cb 100644
--- a/src/target/algorithm.h
+++ b/src/target/algorithm.h
@@ -45,9 +45,12 @@ typedef struct reg_param_s
enum param_direction direction;
} reg_param_t;
-extern void init_mem_param(mem_param_t *param, uint32_t address, uint32_t size, enum param_direction direction);
-extern void destroy_mem_param(mem_param_t *param);
-extern void init_reg_param(reg_param_t *param, char *reg_name, uint32_t size, enum param_direction direction);
-extern void destroy_reg_param(reg_param_t *param);
+void init_mem_param(mem_param_t *param,
+ uint32_t address, uint32_t size, enum param_direction dir);
+void destroy_mem_param(mem_param_t *param);
+
+void init_reg_param(reg_param_t *param,
+ char *reg_name, uint32_t size, enum param_direction dir);
+void destroy_reg_param(reg_param_t *param);
#endif /* ALGORITHM_H */