diff options
author | Alberto Garcia <agarcia@igalia.com> | 2010-01-20 18:53:08 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-01-20 18:58:32 +0100 |
commit | 7693b0af445645f09e55ed7cebe0051c3d1fdd8d (patch) | |
tree | b73da218e63469c83e7818267814bc796f300945 /tests | |
parent | 6c3551fedb7bfde716fa00cfcbba00ca987c2a79 (diff) |
[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 'tests')
-rw-r--r-- | tests/slice-concurrent.c | 2 | ||||
-rw-r--r-- | tests/slice-test.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/slice-concurrent.c b/tests/slice-concurrent.c index da31eaff2..e059d301a 100644 --- a/tests/slice-concurrent.c +++ b/tests/slice-concurrent.c @@ -42,7 +42,7 @@ thread_func (void *arg) { struct ThreadData *td = arg; int i; - // g_print ("Thread %d starting\n", td->thread_id); +/* g_print ("Thread %d starting\n", td->thread_id); */ for (i = 0; i < N_ALLOCS; i++) { if (rand() % (N_ALLOCS / 20) == 0) diff --git a/tests/slice-test.c b/tests/slice-test.c index 22f252b0a..a118ce675 100644 --- a/tests/slice-test.c +++ b/tests/slice-test.c @@ -22,7 +22,7 @@ #include <string.h> #define quick_rand32() (rand_accu = 1664525 * rand_accu + 1013904223, rand_accu) -static guint prime_size = 1021; // 769; // 509 +static guint prime_size = 1021; /* 769; 509 */ static gboolean clean_memchunks = FALSE; static guint number_of_blocks = 10000; /* total number of blocks allocated */ static guint number_of_repetitions = 10000; /* number of alloc+free repetitions */ |