+2005-12-25 Matthias Clasen <mclasen@redhat.com>
+
+ * tests/slice-test.c: Fix C99isms. (#324950, Dan Yefimov)
+
2005-12-21 Matthias Clasen <mclasen@redhat.com>
* README.in: Add some notes on when 'make check' may fail.
+2005-12-25 Matthias Clasen <mclasen@redhat.com>
+
+ * tests/slice-test.c: Fix C99isms. (#324950, Dan Yefimov)
+
2005-12-21 Matthias Clasen <mclasen@redhat.com>
* README.in: Add some notes on when 'make check' may fail.
+2005-12-25 Matthias Clasen <mclasen@redhat.com>
+
+ * tests/slice-test.c: Fix C99isms. (#324950, Dan Yefimov)
+
2005-12-21 Matthias Clasen <mclasen@redhat.com>
* README.in: Add some notes on when 'make check' may fail.
static gpointer
test_memchunk_thread (gpointer data)
{
+ GMemChunk **memchunks;
+ guint i, j;
+ guint8 **ps;
+ guint *ss;
guint32 rand_accu = 2147483563;
/* initialize random numbers */
if (data)
}
/* prepare for memchunk creation */
- GMemChunk **memchunks = g_alloca (sizeof (memchunks[0]) * prime_size);
+ memchunks = g_alloca (sizeof (memchunks[0]) * prime_size);
memset (memchunks, 0, sizeof (memchunks[0]) * prime_size);
- guint i, j;
- guint8 **ps = g_new (guint8*, number_of_blocks);
- guint *ss = g_new (guint, number_of_blocks);
+ ps = g_new (guint8*, number_of_blocks);
+ ss = g_new (guint, number_of_blocks);
/* create number_of_blocks random sizes */
for (i = 0; i < number_of_blocks; i++)
ss[i] = quick_rand32() % prime_size;