projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
target,flash: allow target_free_working_area on NULL area pointer
[fw/openocd]
/
src
/
helper
/
time_support.h
diff --git
a/src/helper/time_support.h
b/src/helper/time_support.h
index a9f2dffad0d577a0df3dbb81a9153c8108f6494f..b83c0ac77224d2f05c7cf443a959966751d2ada2 100644
(file)
--- a/
src/helper/time_support.h
+++ b/
src/helper/time_support.h
@@
-26,6
+26,7
@@
#define OPENOCD_HELPER_TIME_SUPPORT_H
#include <time.h>
#define OPENOCD_HELPER_TIME_SUPPORT_H
#include <time.h>
+#include "types.h"
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
@@
-45,7
+46,7
@@
struct duration {
/** Update the duration->start field to start the @a duration measurement. */
int duration_start(struct duration *duration);
/** Update the duration->start field to start the @a duration measurement. */
int duration_start(struct duration *duration);
-/** Update the duration->elapsed field to finish the @a duration measurment. */
+/** Update the duration->elapsed field to finish the @a duration measur
e
ment. */
int duration_measure(struct duration *duration);
/** @returns Elapsed time in seconds. */
int duration_measure(struct duration *duration);
/** @returns Elapsed time in seconds. */