aboutsummaryrefslogtreecommitdiff
path: root/examples/coroutines/aco.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-23 18:20:43 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-23 18:20:43 -0400
commita4b8ef38b1d7a26b4e6bfa966f021a237bf16ce1 (patch)
treea4137025b4096749341513f44c12d381ceb636bf /examples/coroutines/aco.c
parentecf08ab61fe49101b6c769badf362d21d8699df4 (diff)
Lots of cleanups
Diffstat (limited to 'examples/coroutines/aco.c')
-rw-r--r--examples/coroutines/aco.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/coroutines/aco.c b/examples/coroutines/aco.c
index 3226468b..6057466f 100644
--- a/examples/coroutines/aco.c
+++ b/examples/coroutines/aco.c
@@ -175,7 +175,7 @@ static inline void aco_fast_memcpy(void *dst, const void *src, size_t sz) {
}
#endif
-void aco_default_protector_last_word(void*) {
+void aco_default_protector_last_word(void*_) {
aco_t* co = aco_get_co();
// do some log about the offending `co`
fprintf(stderr,"error: aco_default_protector_last_word triggered\n");
@@ -487,6 +487,6 @@ public void aco_destroy(aco_t* co) {
}
}
-public void aco_exit_fn(void*) {
+public void aco_exit_fn(void*_) {
aco_exit();
}