diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-17 13:33:51 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-17 13:33:51 -0600 |
commit | 42fb27570262b52e2ca889030c621b5f4af76fe1 (patch) | |
tree | 1d70f96baa5089f8878a9c121ff0770846ad4090 /libcr | |
parent | 18ddce6270391e5c1924394f8b5d8079ad73289e (diff) | |
parent | 556f3ff6ccb9fa4b193d91216f85e8ade33b4383 (diff) |
Merge branch 'lukeshu/lint-ish'
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 **************************************************************/ |