This commit is contained in:
twinaphex 2016-08-29 17:55:39 +02:00
parent 0e1ac30843
commit 65cae1fdc0

View File

@ -53,12 +53,6 @@ asm (
/* ASM */ /* ASM */
void co_switch_arm(cothread_t handle, cothread_t current); void co_switch_arm(cothread_t handle, cothread_t current);
static void crash(void)
{
/* Called only if cothread_t entrypoint returns. */
assert(0);
}
cothread_t co_create(unsigned int size, void (*entrypoint)(void)) cothread_t co_create(unsigned int size, void (*entrypoint)(void))
{ {
size = (size + 1023) & ~1023; size = (size + 1023) & ~1023;