diff options
| author | Tyge Løvset <[email protected]> | 2023-02-28 11:01:17 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-02-28 11:01:17 +0100 |
| commit | 158fbcd56a9684423f70e9579bdf2271f8c90b9f (patch) | |
| tree | 0ee8b745dbec75d8101f34e7119a9e51b09906a3 /misc/examples/triples.c | |
| parent | d3c93c2cbb9ffe83a162d32b1021eb24ec703a9c (diff) | |
| download | STC-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.c | 3 |
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); } |
