summaryrefslogtreecommitdiff
path: root/libcr/tests/test_matrix.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-17 12:24:12 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-17 12:24:12 -0600
commit0cf05b66f94bfe02ecca37a4cbafba25b27c32ae (patch)
tree655833226ddb7973edb1d1967a7ce77ef16d7517 /libcr/tests/test_matrix.c
parent29ad1efc7c6de44a965db9f181165b72a9ef8ff1 (diff)
parentcc7697baae812850b0b9262bc1b3cb303c6a2adf (diff)
Merge branch 'lukeshu/libcr-debug-qol'
Diffstat (limited to 'libcr/tests/test_matrix.c')
-rw-r--r--libcr/tests/test_matrix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcr/tests/test_matrix.c b/libcr/tests/test_matrix.c
index 1f23455..eaa4bdc 100644
--- a/libcr/tests/test_matrix.c
+++ b/libcr/tests/test_matrix.c
@@ -1,6 +1,6 @@
/* libcr/tests/test_matrix.c - Tests for libcr
*
- * Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com>
+ * Copyright (C) 2024-2025 Luke T. Shumaker <lukeshu@lukeshu.com>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
@@ -8,14 +8,14 @@
int a = 1;
-COROUTINE cr_init(void *) {
+COROUTINE init_cr(void *) {
cr_begin();
a = 2;
cr_end();
}
int main() {
- coroutine_add("init", cr_init, NULL);
+ coroutine_add("init", init_cr, NULL);
coroutine_main();
if (a != 2)
return 1;