summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2022-03-09 19:43:10 +1030
committerAdrian Johnson <ajohnson@redneon.com>2022-03-09 19:43:48 +1030
commit9bb2036369eb83887eb1780522ea2b4481073a78 (patch)
treeb1f81fede1f1ed0e1b42912d5666e9ddbd0f6cac /util
parent777d35fa879396c055f4fd741695bc56a1a1576c (diff)
downloadcairo-9bb2036369eb83887eb1780522ea2b4481073a78.tar.gz
Fix warning
../util/malloc-stats.c:295:1: warning: no previous declaration for ‘malloc_stats’ [-Wmissing-declarations]
Diffstat (limited to 'util')
-rw-r--r--util/malloc-stats.c2
1 files changed, 1 insertions, 1 deletions
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;