]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: debug: unify the definition of ha_backtrace_to_stderr()
authorWilly Tarreau <w@1wt.eu>
Fri, 6 May 2022 13:16:19 +0000 (15:16 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 6 May 2022 13:16:19 +0000 (15:16 +0200)
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

index 1719036a2211e07e80e8d12af41cac81e6771ab6..b8743377bfb661bec26845d5e194273c12b2b840 100644 (file)
@@ -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);