diff options
Diffstat (limited to 'apache13.h')
-rw-r--r-- | apache13.h | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -8,7 +8,7 @@ | |||
8 | #include "http_core.h" | 8 | #include "http_core.h" |
9 | 9 | ||
10 | /* Defines */ | 10 | /* Defines */ |
11 | #define AP_MODULE_DECLARE_DATA | 11 | #define AP_MODULE_DECLARE_DATA MODULE_VAR_EXPORT |
12 | #define APR_OFF_T_FMT "ld" | 12 | #define APR_OFF_T_FMT "ld" |
13 | #define APR_PID_T_FMT "d" | 13 | #define APR_PID_T_FMT "d" |
14 | #define APR_SUCCESS 0 | 14 | #define APR_SUCCESS 0 |
@@ -72,9 +72,13 @@ | |||
72 | 72 | ||
73 | #define apr_tolower ap_tolower | 73 | #define apr_tolower ap_tolower |
74 | 74 | ||
75 | static void log_error(char *file, int line, int level, apr_status_t status, | 75 | void log_error(char *file, int line, int level, apr_status_t status, |
76 | const server_rec *s, const char *fmt, ...) __attribute__ ((format (printf, 6,7))); | 76 | const server_rec *s, const char *fmt, ...) __attribute__ ((format (printf, 6,7))); |
77 | static inline void log_error(char *file, int line, int level, | 77 | |
78 | #ifndef WIN32 | ||
79 | inline | ||
80 | #endif | ||
81 | void log_error(char *file, int line, int level, | ||
78 | apr_status_t status, const server_rec *s, const char *fmt, ...) | 82 | apr_status_t status, const server_rec *s, const char *fmt, ...) |
79 | { | 83 | { |
80 | static char buff[MAX_STRING_LEN]; | 84 | static char buff[MAX_STRING_LEN]; |