summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2005-08-20 01:03:31 +0000
committerroot <root>2005-08-20 01:03:31 +0000
commit70cb21053986de4f56de177b048cd7af583e72cf (patch)
treec7b0cfb9b4e4d746342fd28db0defb99af30484b
parentbc68659218ed41109cf53fdcc6b1119e94a3002e (diff)
*** empty log message ***rel-1_2
-rw-r--r--coro.c6
-rw-r--r--coro.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/coro.c b/coro.c
index 4ba6e14..02fef11 100644
--- a/coro.c
+++ b/coro.c
@@ -46,7 +46,7 @@
# endif
#endif
-#if CORO_SJLJ || CORO_LOOSE || CORO_LINUX || CORO_IRIX
+#if CORO_SJLJ || CORO_LOSER || CORO_LINUX || CORO_IRIX
#if CORO_SJLJ
# include <stdio.h>
@@ -105,7 +105,7 @@ void coro_create(coro_context *ctx,
makecontext (&(ctx->uc), (void (*)()) coro, 1, arg);
-#elif CORO_SJLJ || CORO_LOOSE || CORO_LINUX || CORO_IRIX
+#elif CORO_SJLJ || CORO_LOSER || CORO_LINUX || CORO_IRIX
# if CORO_SJLJ
stack_t ostk, nstk;
@@ -165,7 +165,7 @@ void coro_create(coro_context *ctx,
sigprocmask (SIG_SETMASK, &osig, 0);
-# elif CORO_LOOSE
+# elif CORO_LOSER
setjmp (ctx->env);
ctx->env[7] = (long)((char *)sptr + ssize);
diff --git a/coro.h b/coro.h
index 843e59a..5920e32 100644
--- a/coro.h
+++ b/coro.h
@@ -42,7 +42,7 @@
/*
* Changes since API version 1:
- * replaced bogus -DCORO_LOOSE with gramattically more correct -DCORO_LOSER
+ * replaced bogus -DCORO_LOOSE with gramatically more correct -DCORO_LOSER
*/
/*