diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2022-12-29 07:51:16 +0100 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2022-12-29 07:51:16 +0100 |
commit | 7e6b36bc2d332a3cb66b83116a393ac4728236d5 (patch) | |
tree | 4e7255b1237564f9682cb8e1b84a5bc0c0a4fbef /source/test/unittests/condition_variable.test.c | |
parent | f9df8ec356b1e18bf46c9a35bec78ed025107376 (diff) | |
download | kit-7e6b36bc2d332a3cb66b83116a393ac4728236d5.zip |
Improve C89/90 compat
Diffstat (limited to 'source/test/unittests/condition_variable.test.c')
-rw-r--r-- | source/test/unittests/condition_variable.test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/test/unittests/condition_variable.test.c b/source/test/unittests/condition_variable.test.c index c5b0468..2dba7ca 100644 --- a/source/test/unittests/condition_variable.test.c +++ b/source/test/unittests/condition_variable.test.c @@ -37,9 +37,10 @@ static int test_run(void *p) { } TEST("condition variable") { + int i; int ok = 1; - for (int i = 0; i < 10; i++) { + for (i = 0; i < 10; i++) { test_data_t data; data.in = 0; |