diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-04-09 23:14:03 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-04-09 23:14:03 +0000 |
commit | 29e6158507a0758192075ac6ece7ba8e75ddc49a (patch) | |
tree | b91ded48da322f8ba4c9bb0f5504228aa036c2d1 /src/fs/test_fs_unindex.c | |
parent | 5dfcb058ab5db9ae0c4b147d8a99c64ca0980028 (diff) | |
download | gnunet-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/fs/test_fs_unindex.c')
-rw-r--r-- | src/fs/test_fs_unindex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/test_fs_unindex.c b/src/fs/test_fs_unindex.c index 77a70cb20..bd36fcd18 100644 --- a/src/fs/test_fs_unindex.c +++ b/src/fs/test_fs_unindex.c | |||
@@ -57,7 +57,7 @@ static char *fn; | |||
57 | 57 | ||
58 | 58 | ||
59 | static void | 59 | static void |
60 | abort_publish_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 60 | abort_publish_task (void *cls) |
61 | { | 61 | { |
62 | GNUNET_FS_publish_stop (publish); | 62 | GNUNET_FS_publish_stop (publish); |
63 | publish = NULL; | 63 | publish = NULL; |
@@ -65,7 +65,7 @@ abort_publish_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
65 | 65 | ||
66 | 66 | ||
67 | static void | 67 | static void |
68 | abort_unindex_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 68 | abort_unindex_task (void *cls) |
69 | { | 69 | { |
70 | GNUNET_FS_unindex_stop (unindex); | 70 | GNUNET_FS_unindex_stop (unindex); |
71 | unindex = NULL; | 71 | unindex = NULL; |