aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-13 15:46:40 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-03-13 15:46:40 +0000
commit6de8c33c38aed8af47299439a268855fd0471136 (patch)
treeda65c877efe147a789a0f8b6145ca8482e72cb9a /src
parent587dd1c392fce46b20c86c725c73ad495880d067 (diff)
downloadriscv-openocd-6de8c33c38aed8af47299439a268855fd0471136.zip
riscv-openocd-6de8c33c38aed8af47299439a268855fd0471136.tar.gz
riscv-openocd-6de8c33c38aed8af47299439a268855fd0471136.tar.bz2
Michael Bruck: fixed warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@514 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/helper/log.c1
-rw-r--r--src/target/target.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/helper/log.c b/src/helper/log.c
index 03fecc2..2e985d0 100644
--- a/src/helper/log.c
+++ b/src/helper/log.c
@@ -23,6 +23,7 @@
#include "log.h"
#include "configuration.h"
+#include "time_support.h"
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/target/target.h b/src/target/target.h
index b75317b..fa83949 100644
--- a/src/target/target.h
+++ b/src/target/target.h
@@ -244,11 +244,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_now();
+extern int target_call_timer_callbacks();
/* invoke this to ensure that e.g. polling timer callbacks happen before
* a syncrhonous command completes.
*/
-extern int target_call_timer_callbacks_now_now();
+extern int target_call_timer_callbacks_now();
extern target_t* get_current_target(struct command_context_s *cmd_ctx);
extern int get_num_by_target(target_t *query_target);