[cairo-commit] util/malloc-stats.c
Behdad Esfahbod
behdad at kemper.freedesktop.org
Sat Sep 22 12:59:53 PDT 2012
util/malloc-stats.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1054840d864da7efcac2ee02d43a526ed6a6760c
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Sat Sep 22 15:59:36 2012 -0400
Fix malloc-stats for newer glibc
diff --git a/util/malloc-stats.c b/util/malloc-stats.c
index fddacf0..da91656 100644
--- a/util/malloc-stats.c
+++ b/util/malloc-stats.c
@@ -236,7 +236,7 @@ my_init_hook(void) {
my_hooks ();
}
-void (*__malloc_initialize_hook) (void) = my_init_hook;
+void (*__volatile __malloc_initialize_hook) (void) = my_init_hook;
/* reporting */
More information about the cairo-commit
mailing list