diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-05 20:35:53 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-05 20:35:53 -0800 |
commit | 20ff0a9682090912e84cc5c80be92b1e0ea78216 (patch) | |
tree | 5e3bbbb2434b7ccb7bd52c532303ab0ccd584491 /src/target/arm966e.h | |
parent | ed9ac9b6fe3257bb728db059f4ae689fc5469fdd (diff) |
ARM966: remove exports and forward decls
Unneeded exports cause confusion about the module interfaces.
Make most functions static.
The forward decls are just code clutter; remove them, by moving
their references after definitions. This is another file which
never needed even one internal forward declaration.
Also remove needless arm966e_init_target(), in favor of the
arm9tdmi routine to which it delegates its work.
This saved over 100 bytes of code on x86_32.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/arm966e.h')
-rw-r--r-- | src/target/arm966e.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/target/arm966e.h b/src/target/arm966e.h index c7a5b1bb..21dee1e5 100644 --- a/src/target/arm966e.h +++ b/src/target/arm966e.h @@ -36,7 +36,6 @@ typedef struct arm966e_common_s extern int arm966e_init_arch_info(target_t *target, arm966e_common_t *arm966e, jtag_tap_t *tap); extern int arm966e_register_commands(struct command_context_s *cmd_ctx); -extern int arm966e_read_cp15(target_t *target, int reg_addr, uint32_t *value); extern int arm966e_write_cp15(target_t *target, int reg_addr, uint32_t value); #endif /* ARM966E_H */ |