diff options
author | Sebastian Wilhelmi <wilhelmi@google.com> | 2006-05-10 23:58:27 +0000 |
---|---|---|
committer | Sebastian Wilhelmi <wilhelmi@src.gnome.org> | 2006-05-10 23:58:27 +0000 |
commit | a194e2e9718ab5088f0e7598aa45e44bdc284899 (patch) | |
tree | 5640bede170191ce10461af18a8f87d362372074 /tests/errorcheck-mutex-test.c | |
parent | 530b06b7e53af8bdeca74a57b41e98f6014a37d8 (diff) | |
download | glib-a194e2e9718ab5088f0e7598aa45e44bdc284899.tar.gz |
Adapt to GLib coding standards.
2006-05-10 Sebastian Wilhelmi <wilhelmi@google.com>
* tests/errorcheck-mutex-test.c: Adapt to GLib coding standards.
Diffstat (limited to 'tests/errorcheck-mutex-test.c')
-rw-r--r-- | tests/errorcheck-mutex-test.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/errorcheck-mutex-test.c b/tests/errorcheck-mutex-test.c index a2452999b..eab95132b 100644 --- a/tests/errorcheck-mutex-test.c +++ b/tests/errorcheck-mutex-test.c @@ -108,24 +108,24 @@ main (int argc, char* argv[]) int i; if (argc == 2) - { - for (i = 0; i < G_N_ELEMENTS (func_table); i++) { - if (strcmp (func_table[i].name, argv[1]) == 0) - { - g_thread_init (NULL); - func_table[i].func (); - g_assert_not_reached (); - } + for (i = 0; i < G_N_ELEMENTS (func_table); i++) + { + if (strcmp (func_table[i].name, argv[1]) == 0) + { + g_thread_init (NULL); + func_table[i].func (); + g_assert_not_reached (); + } + } } - } fprintf (stderr, "Usage: errorcheck-mutex-test [TEST]\n\n"); fprintf (stderr, " where TEST can be one of:\n\n"); for (i = 0; i < G_N_ELEMENTS (func_table); i++) - { - fprintf (stderr, " %s\n", func_table[i].name); - } + { + fprintf (stderr, " %s\n", func_table[i].name); + } return 0; } |