summaryrefslogtreecommitdiff
path: root/src/helper/time_support.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-10-13 06:52:05 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-10-13 06:52:05 +0000
commit0a3b6213bbb8b9b3edaec944610eec48d213a81e (patch)
tree5223b9fca86dd9bad660deca5831c7e9cfc83c15 /src/helper/time_support.c
parent809a796209b5660bd4b968a48794211871f686b9 (diff)
downloadopenocd+libswd-0a3b6213bbb8b9b3edaec944610eec48d213a81e.tar.gz
openocd+libswd-0a3b6213bbb8b9b3edaec944610eec48d213a81e.tar.bz2
openocd+libswd-0a3b6213bbb8b9b3edaec944610eec48d213a81e.tar.xz
openocd+libswd-0a3b6213bbb8b9b3edaec944610eec48d213a81e.zip
Laurentiu Cocanu <laurentiu.cocanu@zylin.com> - Added additional error checks mostly to src/target/target.c
git-svn-id: svn://svn.berlios.de/openocd/trunk@1041 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper/time_support.c')
-rw-r--r--src/helper/time_support.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/helper/time_support.c b/src/helper/time_support.c
index b8ad45cb..6968ab7d 100644
--- a/src/helper/time_support.c
+++ b/src/helper/time_support.c
@@ -89,11 +89,9 @@ int timeval_add_time(struct timeval *result, int sec, int usec)
return 0;
}
-int duration_start_measure(duration_t *duration)
+void duration_start_measure(duration_t *duration)
{
gettimeofday(&duration->start, NULL);
-
- return ERROR_OK;
}
int duration_stop_measure(duration_t *duration, char **text)