diff options
Diffstat (limited to 'tests/test-1.c')
-rw-r--r-- | tests/test-1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-1.c b/tests/test-1.c index 6ec1afb..640a37f 100644 --- a/tests/test-1.c +++ b/tests/test-1.c @@ -26,7 +26,7 @@ main (int argc, char **argv) pthread_t tid[THREADS]; pthread_mutex_t mutex[THREADS]; - for (i = 0; i < THREADS; i ++) + for (i = 0; i < THREADS; i++) { pthread_mutex_init (&mutex[i], 0); pthread_mutex_lock (&mutex[i]); @@ -36,7 +36,7 @@ main (int argc, char **argv) sched_yield (); } - for (i = THREADS - 1; i >= 0; i --) + for (i = THREADS - 1; i >= 0; i--) { void *ret; pthread_mutex_unlock (&mutex[i]); |