/* SilcThreadPool tests */
-#include "silc.h"
+#include "silcruntime.h"
SilcSchedule schedule;
silc_log_set_debug_string("*thread*,*errno*");
}
- schedule = silc_schedule_init(0, NULL, NULL);
+ schedule = silc_schedule_init(0, NULL, NULL, NULL);
if (!schedule)
goto err;
SILC_LOG_DEBUG(("Testing was %s", success ? "SUCCESS" : "FAILURE"));
fprintf(stderr, "Testing was %s\n", success ? "SUCCESS" : "FAILURE");
- return success;
+ return !success;
}