From a12c9cebb7f818d228c70dafc8292fbbca47534d Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 17 Nov 2015 15:32:43 +0000 Subject: [PATCH] manual-backtrace: use proper prototypes, and make functions static Otherwise this will fail to compile with our default Autotools compiler warnings. --- test/manual-backtrace.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/test/manual-backtrace.c b/test/manual-backtrace.c index 3bd470b58..0cc1499d6 100644 --- a/test/manual-backtrace.c +++ b/test/manual-backtrace.c @@ -28,17 +28,20 @@ #include -void test2() +static void +test2 (void) { _dbus_print_backtrace(); } -void test1() +static void +test1 (void) { test2(); } -void test() +static void +test (void) { test1(); } -- 2.47.3