summaryrefslogtreecommitdiff
path: root/tests/test-8.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-8.c')
-rw-r--r--tests/test-8.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-8.c b/tests/test-8.c
index 85a7f8f..5fc51de 100644
--- a/tests/test-8.c
+++ b/tests/test-8.c
@@ -13,7 +13,7 @@ int var;
void
inc_var (void)
{
- var ++;
+ var++;
}
void *
@@ -21,7 +21,7 @@ thr (void *arg)
{
int i;
- for (i = 0; i < 500; i ++)
+ for (i = 0; i < 500; i++)
pthread_once (&inc_var_once, inc_var);
return 0;
@@ -34,7 +34,7 @@ main (int argc, char **argv)
int i;
pthread_t tid[THREADS];
- for (i = 0; i < THREADS; i ++)
+ for (i = 0; i < THREADS; i++)
{
err = pthread_create (&tid[i], 0, thr, 0);
if (err)
@@ -43,7 +43,7 @@ main (int argc, char **argv)
assert (thr (0) == 0);
- for (i = 0; i < THREADS; i ++)
+ for (i = 0; i < THREADS; i++)
{
void *ret;