[cairo-commit] 2 commits - util/malloc-stats.c

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Mar 12 01:24:16 UTC 2022


 util/malloc-stats.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1e5a98b9cb42628ba964686fa1f24b85000a9936
Merge: ec5460336 9bb203636
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Sat Mar 12 01:24:14 2022 +0000

    Merge branch 'malloc-hook2' into 'master'
    
    Fix warning in malloc-stats.c
    
    See merge request cairo/cairo!297

commit 9bb2036369eb83887eb1780522ea2b4481073a78
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Wed Mar 9 19:43:10 2022 +1030

    Fix warning
    
    ../util/malloc-stats.c:295:1: warning: no previous declaration for ‘malloc_stats’ [-Wmissing-declarations]

diff --git a/util/malloc-stats.c b/util/malloc-stats.c
index 132164c73..cf712bd3a 100644
--- a/util/malloc-stats.c
+++ b/util/malloc-stats.c
@@ -291,7 +291,7 @@ merge_similar_entries (struct func_stat_t *func_stats, int num)
 }
 
 __attribute__ ((destructor))
-void
+static void
 malloc_stats (void)
 {
 	unsigned int i, j;


More information about the cairo-commit mailing list