diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-12 14:26:21 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-12 14:26:21 -0600 |
commit | 811d9700e1414dae3357361b3ca565f673f63b08 (patch) | |
tree | ce628075a2ae59d5362d2662465c918f57e81607 /libcr_ipc/tests/test_select.c | |
parent | cd5e55ebb7d5a51c0a8bd62137ab75a0f6ff1356 (diff) | |
parent | b4a081932338f65aa87aeba5008463feb0a78519 (diff) |
Diffstat (limited to 'libcr_ipc/tests/test_select.c')
-rw-r--r-- | libcr_ipc/tests/test_select.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcr_ipc/tests/test_select.c b/libcr_ipc/tests/test_select.c index 9b5d117..3107155 100644 --- a/libcr_ipc/tests/test_select.c +++ b/libcr_ipc/tests/test_select.c @@ -11,15 +11,15 @@ CR_CHAN_DECLARE(intchan, int); -intchan_t ch[10] = {0}; -intchan_t fch = {0}; +intchan_t ch[10] = {}; +intchan_t fch = {}; COROUTINE consumer_cr(void *) { cr_begin(); struct cr_select_arg args[11]; - bool chdone[10] = {0}; + bool chdone[10] = {}; int arg2ch[10]; for (;;) { int ret_ch; |