diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-07-24 11:04:43 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-07-24 11:04:43 +0000 |
commit | 8fbd1ddbe17f6141d72f661fde108dbc1089f17b (patch) | |
tree | dc10b755763144a533968e9f71407072d3b30a8d /src/util/speedup.c | |
parent | a3bafed89534fb9fc1bcfcd10f512ff3cd150a63 (diff) | |
download | gnunet-8fbd1ddbe17f6141d72f661fde108dbc1089f17b.tar.gz gnunet-8fbd1ddbe17f6141d72f661fde108dbc1089f17b.zip |
-w32 bugfix -- compiler warning too
Diffstat (limited to 'src/util/speedup.c')
-rw-r--r-- | src/util/speedup.c | 9 |
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 | */ | ||
56 | int | 62 | int |
57 | GNUNET_SPEEDUP_start_ (const struct GNUNET_CONFIGURATION_Handle *cfg) | 63 | GNUNET_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 | */ | ||
78 | void | 87 | void |
79 | GNUNET_SPEEDUP_stop_ ( ) | 88 | GNUNET_SPEEDUP_stop_ ( ) |
80 | { | 89 | { |