]> git.lizzy.rs Git - dragonstd.git/blobdiff - test/test_flag.c
Style: no longer put space after unary operators
[dragonstd.git] / test / test_flag.c
index dfe0bb4dc974084c9330c4ceff7cc9bdf3f3109b..d7429237e1b7b27d1fc85b9f328996bd04a0ef5c 100644 (file)
@@ -21,7 +21,7 @@ void *start_thread(__attribute__((unused)) void *val)
 
 bool is_finished()
 {
-       ITER_FLAGS if (! flags[i].set)
+       ITER_FLAGS if (!flags[i].set)
                return false;
 
        return true;
@@ -39,7 +39,7 @@ int main()
        pthread_t thread;
        pthread_create(&thread, NULL, &start_thread, NULL);
 
-       while (! is_finished()) {
+       while (!is_finished()) {
                int i = rand() % NUM_FLAGS;
 
                printf("setting flag %d\n", i);