Changed thread pool completion callback to SilcTaskCallback so that
[silc.git] / lib / silcutil / tests / test_silcthread.c
index b2ec10d17cafc9244f45cad283e6908da294004f..6305d7c100b2eede7934e1b81fe12d2cdfa54d87 100644 (file)
@@ -10,7 +10,7 @@ static void func(SilcSchedule schedule, void *context)
   sleep(1);
 }
 
-static void compl(SilcSchedule schedule, void *context)
+SILC_TASK_CALLBACK(compl)
 {
   SILC_LOG_DEBUG(("completion: %d", (int)context));
   if ((int)context == 0xff)