aboutsummaryrefslogtreecommitdiff
path: root/src/util/speedup.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-07-24 11:04:43 +0000
committerChristian Grothoff <christian@grothoff.org>2013-07-24 11:04:43 +0000
commit8fbd1ddbe17f6141d72f661fde108dbc1089f17b (patch)
treedc10b755763144a533968e9f71407072d3b30a8d /src/util/speedup.c
parenta3bafed89534fb9fc1bcfcd10f512ff3cd150a63 (diff)
downloadgnunet-8fbd1ddbe17f6141d72f661fde108dbc1089f17b.tar.gz
gnunet-8fbd1ddbe17f6141d72f661fde108dbc1089f17b.zip
-w32 bugfix -- compiler warning too
Diffstat (limited to 'src/util/speedup.c')
-rw-r--r--src/util/speedup.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/util/speedup.c b/src/util/speedup.c
index e5f71d063..6cb8a4e05 100644
--- a/src/util/speedup.c
+++ b/src/util/speedup.c
@@ -53,6 +53,12 @@ do_speedup (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
53} 53}
54 54
55 55
56/**
57 * Start task that may speed up our system clock artificially
58 *
59 * @param cfg configuration to use
60 * @return GNUNET_OK on success, GNUNET_SYSERR if the speedup was not configured
61 */
56int 62int
57GNUNET_SPEEDUP_start_ (const struct GNUNET_CONFIGURATION_Handle *cfg) 63GNUNET_SPEEDUP_start_ (const struct GNUNET_CONFIGURATION_Handle *cfg)
58{ 64{
@@ -75,6 +81,9 @@ GNUNET_SPEEDUP_start_ (const struct GNUNET_CONFIGURATION_Handle *cfg)
75} 81}
76 82
77 83
84/**
85 * Stop tasks that modify clock behavior.
86 */
78void 87void
79GNUNET_SPEEDUP_stop_ ( ) 88GNUNET_SPEEDUP_stop_ ( )
80{ 89{