diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-18 07:07:59 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-18 07:07:59 +0000 |
commit | f876d5e9c769a288faa7fd14b7bf373363542aab (patch) | |
tree | 86ad76530f7d44c69471813c4c727f107b018eb5 /src/target/target.h | |
parent | c18947b947064e7eceed8047c42d4c8dfd8ae964 (diff) | |
download | openocd_libswd-f876d5e9c769a288faa7fd14b7bf373363542aab.tar.gz openocd_libswd-f876d5e9c769a288faa7fd14b7bf373363542aab.tar.bz2 openocd_libswd-f876d5e9c769a288faa7fd14b7bf373363542aab.tar.xz openocd_libswd-f876d5e9c769a288faa7fd14b7bf373363542aab.zip |
Transform 'u16' to 'uint16_t'
- Replace '\([^_]\)u16' with '\1uint16_t'.
- Replace '^u16' with 'uint16_t'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2277 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/target.h')
-rw-r--r-- | src/target/target.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/target/target.h b/src/target/target.h index ad1699d3..b2e4c61e 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -380,17 +380,17 @@ extern target_event_callback_t *target_event_callbacks; extern target_timer_callback_t *target_timer_callbacks; extern u32 target_buffer_get_u32(target_t *target, const uint8_t *buffer); -extern u16 target_buffer_get_u16(target_t *target, const uint8_t *buffer); +extern uint16_t target_buffer_get_u16(target_t *target, const uint8_t *buffer); extern uint8_t target_buffer_get_u8 (target_t *target, const uint8_t *buffer); extern void target_buffer_set_u32(target_t *target, uint8_t *buffer, u32 value); -extern void target_buffer_set_u16(target_t *target, uint8_t *buffer, u16 value); +extern void target_buffer_set_u16(target_t *target, uint8_t *buffer, uint16_t value); extern void target_buffer_set_u8 (target_t *target, uint8_t *buffer, uint8_t value); int target_read_u32(struct target_s *target, u32 address, u32 *value); -int target_read_u16(struct target_s *target, u32 address, u16 *value); +int target_read_u16(struct target_s *target, u32 address, uint16_t *value); int target_read_u8(struct target_s *target, u32 address, uint8_t *value); int target_write_u32(struct target_s *target, u32 address, u32 value); -int target_write_u16(struct target_s *target, u32 address, u16 value); +int target_write_u16(struct target_s *target, u32 address, uint16_t value); int target_write_u8(struct target_s *target, u32 address, uint8_t value); /* Issues USER() statements with target state information */ |