BUILD: debug: unify the definition of ha_backtrace_to_stderr()
It was both defined as ha_backtrace_to_stderr(void) and ha_backtrace_to_stderr(), and tcc is not happy with this, so let's adjust this tiny detail.
This commit is contained in:
parent
e7f5776800
commit
7831e0272e
@ -138,7 +138,7 @@ void ha_dump_backtrace(struct buffer *buf, const char *prefix, int dump)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* dump a backtrace of current thread's stack to stderr. */
|
/* dump a backtrace of current thread's stack to stderr. */
|
||||||
void ha_backtrace_to_stderr()
|
void ha_backtrace_to_stderr(void)
|
||||||
{
|
{
|
||||||
char area[2048];
|
char area[2048];
|
||||||
struct buffer b = b_make(area, sizeof(area), 0, 0);
|
struct buffer b = b_make(area, sizeof(area), 0, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user