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/target/target.h | |
parent | 20f505f695df9d9ba4c20780848336afec240a31 (diff) | |
download | riscv-openocd-f370d70670bd5e30befe6fbfbc8d472e760f032b.zip riscv-openocd-f370d70670bd5e30befe6fbfbc8d472e760f032b.tar.gz riscv-openocd-f370d70670bd5e30befe6fbfbc8d472e760f032b.tar.bz2 |
Duane Ellis: fix warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@890 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/target.h')
-rw-r--r-- | src/target/target.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/target.h b/src/target/target.h index 8673ddc..2551ede 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -266,11 +266,11 @@ extern int target_call_event_callbacks(target_t *target, enum target_event event */ extern int target_register_timer_callback(int (*callback)(void *priv), int time_ms, int periodic, void *priv); extern int target_unregister_timer_callback(int (*callback)(void *priv), void *priv); -extern int target_call_timer_callbacks(); +extern int target_call_timer_callbacks(void); /* invoke this to ensure that e.g. polling timer callbacks happen before * a syncrhonous command completes. */ -extern int target_call_timer_callbacks_now(); +extern int target_call_timer_callbacks_now(void); extern target_t* get_current_target(struct command_context_s *cmd_ctx); extern int get_num_by_target(target_t *query_target); |