aboutsummaryrefslogtreecommitdiff
path: root/sys/libn/coro.c
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-04-30 11:54:19 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-04-30 11:54:19 -0700
commit9e83bf8c3656b736ba3a14d9b7b8af61b48415f4 (patch)
tree4417ac3eafdd744d7a944a6da6bf630844ef5f90 /sys/libn/coro.c
parent86134ccf82dcafe338e68c14e483ec98cfc94925 (diff)
chore: move from new to make prefix of constructors
Diffstat (limited to 'sys/libn/coro.c')
-rw-r--r--sys/libn/coro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/libn/coro.c b/sys/libn/coro.c
index 2ad629b..923bb7e 100644
--- a/sys/libn/coro.c
+++ b/sys/libn/coro.c
@@ -25,7 +25,7 @@ struct Coro
};
Coro*
-coro·new(uintptr stk, uintptr (*func)(Coro*, uintptr))
+coro·make(uintptr stk, uintptr (*func)(Coro*, uintptr))
{
if (!func) return nil;
if (stk == 0) stk = 8192;