summaryrefslogtreecommitdiffhomepage
path: root/misc
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-03-01 14:54:36 +0100
committerTyge Løvset <[email protected]>2023-03-01 14:54:36 +0100
commita203314647b5c37c7e40230551457f006ff36cd5 (patch)
tree3d8b9b29595577bee0926434820d602a29487ea3 /misc
parent78a7e85535fd02e643bf98103223d4218e80133f (diff)
downloadSTC-modified-a203314647b5c37c7e40230551457f006ff36cd5.tar.gz
STC-modified-a203314647b5c37c7e40230551457f006ff36cd5.zip
Reverted example moves.
Diffstat (limited to 'misc')
-rw-r--r--misc/examples/coread.c (renamed from misc/examples/algo/coread.c)0
-rw-r--r--misc/examples/coroutines.c (renamed from misc/examples/algo/coroutines.c)0
-rw-r--r--misc/examples/forfilter.c (renamed from misc/examples/algo/forfilter.c)0
-rw-r--r--misc/examples/generator.c (renamed from misc/examples/algo/generator.c)2
-rw-r--r--misc/examples/prime.c (renamed from misc/examples/algo/prime.c)0
-rw-r--r--misc/examples/triples.c (renamed from misc/examples/algo/triples.c)0
6 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/algo/coread.c b/misc/examples/coread.c
index c5f85e08..c5f85e08 100644
--- a/misc/examples/algo/coread.c
+++ b/misc/examples/coread.c
diff --git a/misc/examples/algo/coroutines.c b/misc/examples/coroutines.c
index 2c9e6d5c..2c9e6d5c 100644
--- a/misc/examples/algo/coroutines.c
+++ b/misc/examples/coroutines.c
diff --git a/misc/examples/algo/forfilter.c b/misc/examples/forfilter.c
index 5e1cf15e..5e1cf15e 100644
--- a/misc/examples/algo/forfilter.c
+++ b/misc/examples/forfilter.c
diff --git a/misc/examples/algo/generator.c b/misc/examples/generator.c
index fce44a52..f83ff3f2 100644
--- a/misc/examples/algo/generator.c
+++ b/misc/examples/generator.c
@@ -48,6 +48,6 @@ int main()
if (i.ref->c < 100)
printf("%u: (%d, %d, %d)\n", INT32_MAX - i.ref->n + 1, i.ref->a, i.ref->b, i.ref->c);
else
- (void)cco_stop(&i);
+ cco_stop(&i);
}
}
diff --git a/misc/examples/algo/prime.c b/misc/examples/prime.c
index e705dcb7..e705dcb7 100644
--- a/misc/examples/algo/prime.c
+++ b/misc/examples/prime.c
diff --git a/misc/examples/algo/triples.c b/misc/examples/triples.c
index 8a46d653..8a46d653 100644
--- a/misc/examples/algo/triples.c
+++ b/misc/examples/triples.c