summaryrefslogtreecommitdiff
path: root/src/target/target.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-08-05 12:27:18 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-08-05 12:27:18 +0000
commitf370d70670bd5e30befe6fbfbc8d472e760f032b (patch)
tree881165e968757d8feae4e747b9407d98c328d373 /src/target/target.c
parent20f505f695df9d9ba4c20780848336afec240a31 (diff)
downloadopenocd+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/target/target.c')
-rw-r--r--src/target/target.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/target.c b/src/target/target.c
index 0950e436..37e1b369 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -666,15 +666,15 @@ static int target_call_timer_callbacks_check_time(int checktime)
return ERROR_OK;
}
-int target_call_timer_callbacks()
+int target_call_timer_callbacks(void)
{
return target_call_timer_callbacks_check_time(1);
}
/* invoke periodic callbacks immediately */
-int target_call_timer_callbacks_now()
+int target_call_timer_callbacks_now(void)
{
- return target_call_timer_callbacks(0);
+ return target_call_timer_callbacks();
}
int target_alloc_working_area(struct target_s *target, u32 size, working_area_t **area)