diff options
Diffstat (limited to 'libcr')
-rw-r--r-- | libcr/coroutine.c | 2 | ||||
-rw-r--r-- | libcr/include/libcr/coroutine.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libcr/coroutine.c b/libcr/coroutine.c index 920c371..baa559b 100644 --- a/libcr/coroutine.c +++ b/libcr/coroutine.c @@ -685,7 +685,7 @@ void cr_begin(void) { cr_restore_interrupts(saved); } -static inline void _cr_yield() { +static inline void _cr_yield(void) { cid_t next; while ( !((next = coroutine_ringbuf_pop())) ) { /* No coroutines are runnable, wait for an interrupt diff --git a/libcr/include/libcr/coroutine.h b/libcr/include/libcr/coroutine.h index f72dc96..f566074 100644 --- a/libcr/include/libcr/coroutine.h +++ b/libcr/include/libcr/coroutine.h @@ -26,7 +26,7 @@ #ifndef _LIBCR_COROUTINE_H_ #define _LIBCR_COROUTINE_H_ -#include <stddef.h> /* for size_t */ +#include <stddef.h> /* for size_t */ /* Configuration **************************************************************/ |