diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-08-05 12:27:18 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-08-05 12:27:18 +0000 |
commit | f370d70670bd5e30befe6fbfbc8d472e760f032b (patch) | |
tree | 881165e968757d8feae4e747b9407d98c328d373 /src/flash | |
parent | 20f505f695df9d9ba4c20780848336afec240a31 (diff) | |
download | openocd+libswd-f370d70670bd5e30befe6fbfbc8d472e760f032b.tar.gz openocd+libswd-f370d70670bd5e30befe6fbfbc8d472e760f032b.tar.bz2 openocd+libswd-f370d70670bd5e30befe6fbfbc8d472e760f032b.tar.xz openocd+libswd-f370d70670bd5e30befe6fbfbc8d472e760f032b.zip |
Duane Ellis: fix warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@890 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/flash.c | 2 | ||||
-rw-r--r-- | src/flash/flash.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/flash.c b/src/flash/flash.c index 95a983b7..71d054f5 100644 --- a/src/flash/flash.c +++ b/src/flash/flash.c @@ -233,7 +233,7 @@ flash_bank_t *get_flash_bank_by_num_noprobe(int num) return NULL; } -int flash_get_bank_count() +int flash_get_bank_count(void) { flash_bank_t *p; int i = 0; diff --git a/src/flash/flash.h b/src/flash/flash.h index 807914ad..1f5ee9b3 100644 --- a/src/flash/flash.h +++ b/src/flash/flash.h @@ -80,7 +80,7 @@ extern int flash_init_drivers(struct command_context_s *cmd_ctx); extern int flash_erase_address_range(target_t *target, u32 addr, u32 length); extern int flash_write(target_t *target, image_t *image, u32 *written, int erase); extern void flash_set_dirty(void); -extern int flash_get_bank_count(); +extern int flash_get_bank_count(void); extern int default_flash_blank_check(struct flash_bank_s *bank); extern int default_flash_mem_blank_check(struct flash_bank_s *bank); |