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 @@
#include <stdio.h>
void test2()
static void
test2 (void)
{
_dbus_print_backtrace();
}
void test1()
static void
test1 (void)
{
test2();
}
void test()
static void
test (void)
{
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