From: Simon McVittie Date: Tue, 17 Nov 2015 15:32:43 +0000 (+0000) Subject: manual-backtrace: use proper prototypes, and make functions static X-Git-Tag: dbus-1.11.0~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a12c9cebb7f818d228c70dafc8292fbbca47534d;p=thirdparty%2Fdbus.git manual-backtrace: use proper prototypes, and make functions static Otherwise this will fail to compile with our default Autotools compiler warnings. --- 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(); }