File messagingframework-2010W22-fix-wrong-function-declaration.patch of Package messagingframework
Index: benchmarks/tst_messageserver/testmalloc.cpp
===================================================================
--- benchmarks/tst_messageserver/testmalloc.cpp.orig 2010-06-03 19:17:38.000000000 +0200
+++ benchmarks/tst_messageserver/testmalloc.cpp 2011-09-18 23:19:14.932656242 +0200
@@ -163,7 +163,7 @@ void TestMalloc::resetNow()
D->now_overhead = 0;
}
-void (*__malloc_initialize_hook) (void) = TestMallocPrivate::init;
+void (* volatile __malloc_initialize_hook) (void) = TestMallocPrivate::init;
void TestMallocPrivate::init()
{