File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 1
1
#ifndef DDEBUG_H
2
2
#define DDEBUG_H
3
3
4
+
4
5
#include <ngx_config.h>
5
6
#include <ngx_core.h>
6
7
#include <ngx_http.h>
22
23
23
24
#include <stdarg.h>
24
25
25
- static void dd (const char * fmt , ...) {
26
+ static ngx_inline void
27
+ dd (const char * fmt , ...) {
26
28
}
27
29
28
30
# endif
@@ -38,7 +40,8 @@ static void dd(const char * fmt, ...) {
38
40
# define dd_main_req_count 0
39
41
# endif
40
42
41
- static void dd_enter_helper (ngx_http_request_t * r , const char * func ) {
43
+ static ngx_inline void
44
+ dd_enter_helper (ngx_http_request_t * r , const char * func ) {
42
45
ngx_http_posted_request_t * pr ;
43
46
44
47
fprintf (stderr , ">enter %s %.*s %.*s?%.*s c:%d m:%p r:%p ar:%p pr:%p" ,
@@ -78,10 +81,12 @@ static void dd_enter_helper(ngx_http_request_t *r, const char *func) {
78
81
79
82
#include <stdarg.h>
80
83
81
- static void dd (const char * fmt , ...) {
84
+ static ngx_inline void
85
+ dd (const char * fmt , ...) {
82
86
}
83
87
84
- static void dd_enter () {
88
+ static ngx_inline void
89
+ dd_enter () {
85
90
}
86
91
87
92
# endif
You can’t perform that action at this time.
0 commit comments