Skip to content

Commit 27a0f2e

Browse files
committed
bugfix: fixed errors and warnings with C compilers without variadic macro support.
1 parent 92db487 commit 27a0f2e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/ddebug.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919

2020
#include <stdarg.h>
2121

22-
static void dd(const char* fmt, ...) {
22+
static ngx_inline void
23+
dd(const char* fmt, ...) {
2324
}
2425

2526
# endif
@@ -34,7 +35,8 @@ static void dd(const char* fmt, ...) {
3435

3536
#include <stdarg.h>
3637

37-
static void dd(const char* fmt, ...) {
38+
static ngx_inline void
39+
dd(const char* fmt, ...) {
3840
}
3941

4042
# endif

0 commit comments

Comments
 (0)