Commit a12c9ceb authored by Simon McVittie's avatar Simon McVittie

manual-backtrace: use proper prototypes, and make functions static

Otherwise this will fail to compile with our default Autotools
compiler warnings.
parent a7cc8178
...@@ -28,17 +28,20 @@ ...@@ -28,17 +28,20 @@
#include <stdio.h> #include <stdio.h>
void test2() static void
test2 (void)
{ {
_dbus_print_backtrace(); _dbus_print_backtrace();
} }
void test1() static void
test1 (void)
{ {
test2(); test2();
} }
void test() static void
test (void)
{ {
test1(); test1();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment