summaryrefslogtreecommitdiff
path: root/gobject
diff options
context:
space:
mode:
authorAlberto Garcia <agarcia@igalia.com>2010-01-20 18:53:08 +0100
committerJavier Jardón <jjardon@gnome.org>2010-01-20 18:58:32 +0100
commit7693b0af445645f09e55ed7cebe0051c3d1fdd8d (patch)
treeb73da218e63469c83e7818267814bc796f300945 /gobject
parent6c3551fedb7bfde716fa00cfcbba00ca987c2a79 (diff)
downloadglib-7693b0af445645f09e55ed7cebe0051c3d1fdd8d.tar.gz
[tests] Remove C++ style comments
It makes the IBM XL C Compiler (the 'native' non-free compiler on the AIX 5.3 and 6.1 platform) stop compiling with syntax error. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=581300 Signed-off-by: Javier Jardón <jjardon@gnome.org>
Diffstat (limited to 'gobject')
-rw-r--r--gobject/tests/threadtests.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gobject/tests/threadtests.c b/gobject/tests/threadtests.c
index 757df709b..c3b0171ab 100644
--- a/gobject/tests/threadtests.c
+++ b/gobject/tests/threadtests.c
@@ -34,9 +34,9 @@ call_counter_init (gpointer tclass)
for (i = 0; i < NUM_COUNTER_INCREMENTS; i++)
{
int saved_unsafe_call_counter = unsafe_call_counter;
- g_atomic_int_add (&mtsafe_call_counter, 1); // real call count update
- g_thread_yield(); // let concurrent threads corrupt the unsafe_call_counter state
- unsafe_call_counter = 1 + saved_unsafe_call_counter; // non-atomic counter update
+ g_atomic_int_add (&mtsafe_call_counter, 1); /* real call count update */
+ g_thread_yield(); /* let concurrent threads corrupt the unsafe_call_counter state */
+ unsafe_call_counter = 1 + saved_unsafe_call_counter; /* non-atomic counter update */
}
}
@@ -139,7 +139,7 @@ static void
prop_tester_init (PropTester* t)
{
if (t->name == NULL)
- ; // neds unit test framework initialization: g_test_bug ("race initializing properties");
+ ; /* neds unit test framework initialization: g_test_bug ("race initializing properties"); */
}
static void
prop_tester_set_property (GObject *object,