summaryrefslogtreecommitdiff
path: root/coroutine.h
diff options
context:
space:
mode:
Diffstat (limited to 'coroutine.h')
-rw-r--r--coroutine.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/coroutine.h b/coroutine.h
index ae52f22..273680d 100644
--- a/coroutine.h
+++ b/coroutine.h
@@ -23,8 +23,7 @@ void coroutine_main(void);
/* inside of coroutines *******************************************************/
-bool _cr_begin(void);
-#define cr_begin() do { if (!_cr_begin()) return; } while (0)
+bool cr_begin(void);
void cr_exit(void);
void cr_yield(void);
void cr_pause_and_yield(void);