summaryrefslogtreecommitdiff
path: root/src/target/armv4_5_cache.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/armv4_5_cache.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/armv4_5_cache.h')
-rw-r--r--src/target/armv4_5_cache.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/target/armv4_5_cache.h b/src/target/armv4_5_cache.h
index 44bc212e..71e3203c 100644
--- a/src/target/armv4_5_cache.h
+++ b/src/target/armv4_5_cache.h
@@ -42,10 +42,13 @@ typedef struct armv4_5_cache_common_s
int d_u_cache_enabled;
} armv4_5_cache_common_t;
-extern int armv4_5_identify_cache(uint32_t cache_type_reg, armv4_5_cache_common_t *cache);
-extern int armv4_5_cache_state(uint32_t cp15_control_reg, armv4_5_cache_common_t *cache);
+int armv4_5_identify_cache(uint32_t cache_type_reg,
+ armv4_5_cache_common_t *cache);
+int armv4_5_cache_state(uint32_t cp15_control_reg,
+ armv4_5_cache_common_t *cache);
-extern int armv4_5_handle_cache_info_command(struct command_context_s *cmd_ctx, armv4_5_cache_common_t *armv4_5_cache);
+int armv4_5_handle_cache_info_command(struct command_context_s *cmd_ctx,
+ armv4_5_cache_common_t *armv4_5_cache);
enum
{