summaryrefslogtreecommitdiff
path: root/tests/test-8.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-28 00:51:03 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-28 00:51:03 +0200
commitb1f57fa0cf5515263bebcefe1044995ebaf9a1f3 (patch)
treedc73df6d0831bb483a38856d5f1e5c475dc60b26 /tests/test-8.c
parent05cefb83e22c08aedf5d3b893ad387eb6424faba (diff)
Fix coding style
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;