aboutsummaryrefslogtreecommitdiff
path: root/src/ats/ats_api_performance.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-04-09 23:14:03 +0000
committerChristian Grothoff <christian@grothoff.org>2016-04-09 23:14:03 +0000
commit29e6158507a0758192075ac6ece7ba8e75ddc49a (patch)
treeb91ded48da322f8ba4c9bb0f5504228aa036c2d1 /src/ats/ats_api_performance.c
parent5dfcb058ab5db9ae0c4b147d8a99c64ca0980028 (diff)
downloadgnunet-29e6158507a0758192075ac6ece7ba8e75ddc49a.tar.gz
gnunet-29e6158507a0758192075ac6ece7ba8e75ddc49a.zip
small API change: do no longer pass rarely needed GNUNET_SCHEDULER_TaskContext to all scheduler tasks; instead, allow the relatively few tasks that need it to obtain the context via GNUNET_SCHEDULER_get_task_context()
Diffstat (limited to 'src/ats/ats_api_performance.c')
-rw-r--r--src/ats/ats_api_performance.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ats/ats_api_performance.c b/src/ats/ats_api_performance.c
index 490c74cfa..48bb2ebf4 100644
--- a/src/ats/ats_api_performance.c
+++ b/src/ats/ats_api_performance.c
@@ -261,11 +261,9 @@ reconnect (struct GNUNET_ATS_PerformanceHandle *ph);
261 * Re-establish the connection to the ATS service. 261 * Re-establish the connection to the ATS service.
262 * 262 *
263 * @param cls handle to use to re-connect. 263 * @param cls handle to use to re-connect.
264 * @param tc scheduler context
265 */ 264 */
266static void 265static void
267reconnect_task (void *cls, 266reconnect_task (void *cls)
268 const struct GNUNET_SCHEDULER_TaskContext *tc)
269{ 267{
270 struct GNUNET_ATS_PerformanceHandle *ph = cls; 268 struct GNUNET_ATS_PerformanceHandle *ph = cls;
271 269