X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fcoroutine%2Ftest%2Fapi-1.c;h=ea59dc02fb3f9ad7df753b5cc84a8f91972af0c5;hp=fbf66df60b117b9ef140601231e96d4fbc16d38b;hb=f6557ca6537bc4d37fb4be215184a632533ba4e7;hpb=d24c5a0105b14dd20efd6c3c9f1ae0a35ca50c84 diff --git a/ccan/coroutine/test/api-1.c b/ccan/coroutine/test/api-1.c index fbf66df6..ea59dc02 100644 --- a/ccan/coroutine/test/api-1.c +++ b/ccan/coroutine/test/api-1.c @@ -30,9 +30,10 @@ static void test_trivial(struct coroutine_stack *stack) } +static char buf[COROUTINE_MIN_STKSZ + COROUTINE_STK_OVERHEAD]; + int main(void) { - char buf[COROUTINE_MIN_STKSZ + COROUTINE_STK_OVERHEAD]; struct coroutine_stack *stack; /* This is how many tests you plan to run */