aboutsummaryrefslogtreecommitdiff
path: root/src/conversation/gnunet-conversation-test.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/conversation/gnunet-conversation-test.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/conversation/gnunet-conversation-test.c')
-rw-r--r--src/conversation/gnunet-conversation-test.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/conversation/gnunet-conversation-test.c b/src/conversation/gnunet-conversation-test.c
index 1c8fe74e6..fe6eae925 100644
--- a/src/conversation/gnunet-conversation-test.c
+++ b/src/conversation/gnunet-conversation-test.c
@@ -96,11 +96,9 @@ static struct Recording *rec_tail;
96 * Terminate test. 96 * Terminate test.
97 * 97 *
98 * @param cls NULL 98 * @param cls NULL
99 * @param tc unused
100 */ 99 */
101static void 100static void
102do_shutdown (void *cls, 101do_shutdown (void *cls)
103 const struct GNUNET_SCHEDULER_TaskContext *tc)
104{ 102{
105 struct Recording *rec; 103 struct Recording *rec;
106 104
@@ -126,11 +124,9 @@ do_shutdown (void *cls,
126 * Terminate recording process and switch to playback. 124 * Terminate recording process and switch to playback.
127 * 125 *
128 * @param cls NULL 126 * @param cls NULL
129 * @param tc unused
130 */ 127 */
131static void 128static void
132switch_to_speaker (void *cls, 129switch_to_speaker (void *cls)
133 const struct GNUNET_SCHEDULER_TaskContext *tc)
134{ 130{
135 struct Recording *rec; 131 struct Recording *rec;
136 132