diff options
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; |