summaryrefslogtreecommitdiffstats
path: root/apache13.h
diff options
context:
space:
mode:
Diffstat (limited to 'apache13.h')
-rw-r--r--apache13.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/apache13.h b/apache13.h
index 3b013cc..bf10af2 100644
--- a/apache13.h
+++ b/apache13.h
@@ -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
75static void log_error(char *file, int line, int level, apr_status_t status, 75void 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)));
77static inline void log_error(char *file, int line, int level, 77
78#ifndef WIN32
79inline
80#endif
81void 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];