From 7831e0272e7748a1f77143730520e2c13e239345 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 6 May 2022 15:16:19 +0200 Subject: [PATCH] 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. --- src/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug.c b/src/debug.c index 1719036a22..b8743377bf 100644 --- a/src/debug.c +++ b/src/debug.c @@ -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. */ -void ha_backtrace_to_stderr() +void ha_backtrace_to_stderr(void) { char area[2048]; struct buffer b = b_make(area, sizeof(area), 0, 0); -- 2.47.3