From 9bb2036369eb83887eb1780522ea2b4481073a78 Mon Sep 17 00:00:00 2001 From: Adrian Johnson Date: Wed, 9 Mar 2022 19:43:10 +1030 Subject: Fix warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ../util/malloc-stats.c:295:1: warning: no previous declaration for ‘malloc_stats’ [-Wmissing-declarations] --- util/malloc-stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') 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; -- cgit v1.2.1