mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-02-08 17:20:31 +01:00
manual-backtrace: use proper prototypes, and make functions static
Otherwise this will fail to compile with our default Autotools compiler warnings.
This commit is contained in:
parent
a7cc817895
commit
a12c9cebb7
1 changed files with 6 additions and 3 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue