Michael Bruck: fixed warnings
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 13 Mar 2008 15:46:40 +0000 (15:46 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 13 Mar 2008 15:46:40 +0000 (15:46 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@514 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/helper/log.c
src/target/target.h

index 03fecc208ec7a699d3b1c7a20e1f52c24be300ef..2e985d03c0f4a996eff8001aa989aa35a19342be 100644 (file)
@@ -23,6 +23,7 @@
 
 #include "log.h"
 #include "configuration.h"
+#include "time_support.h"
 
 #include <stdio.h>
 #include <stdlib.h>
index b75317b38a21f04e5ffb0a929bef2ae3a575b965..fa83949b3b77652cbcd03e14e52ad1d4a7d44c49 100644 (file)
@@ -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);