summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/triples.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-02-28 11:01:17 +0100
committerTyge Løvset <[email protected]>2023-02-28 11:01:17 +0100
commit158fbcd56a9684423f70e9579bdf2271f8c90b9f (patch)
tree0ee8b745dbec75d8101f34e7119a9e51b09906a3 /misc/examples/triples.c
parentd3c93c2cbb9ffe83a162d32b1021eb24ec703a9c (diff)
downloadSTC-modified-158fbcd56a9684423f70e9579bdf2271f8c90b9f.tar.gz
STC-modified-158fbcd56a9684423f70e9579bdf2271f8c90b9f.zip
Final cleanups on corotines.
Diffstat (limited to 'misc/examples/triples.c')
-rw-r--r--misc/examples/triples.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/misc/examples/triples.c b/misc/examples/triples.c
index 05e6fca2..0ce0eb37 100644
--- a/misc/examples/triples.c
+++ b/misc/examples/triples.c
@@ -23,8 +23,6 @@ struct tricoro {
int x, y, z;
};
-#include <stdlib.h>
-
bool triples_coro(struct tricoro* t) {
cco_begin(t);
for (t->z = 1;; ++t->z) {
@@ -38,7 +36,6 @@ bool triples_coro(struct tricoro* t) {
}
}
cco_final:
- puts("final");
cco_end(false);
}