GCC 2.95.1 happy by avoiding various warnings...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83836
13f79535-47bb-0310-9956-
ffa450edef68
HOOK_LINK(log_transaction)
HOOK_LINK(http_method)
HOOK_LINK(default_port)
-);
+)
#define SET_BYTES_SENT(r) \
do { if (r->sent_bodyct) \
HOOK_STRUCT(
HOOK_LINK(pre_connection)
HOOK_LINK(process_connection)
-);
+)
IMPLEMENT_HOOK_VOID(pre_connection,(conn_rec *c),(c))
IMPLEMENT_HOOK_RUN_FIRST(int,process_connection,(conn_rec *c),(c),DECLINED)
}
pool *g_pHookPool;
+
+extern char *optarg;
+
#ifdef WIN32
__declspec(dllexport)
int apache_main(int argc, char *argv[])
pool *plog; /* Pool for error-logging files */
pool *ptemp; /* Pool for temporart config stuff */
pool *pcommands; /* Pool for -C and -c switches */
- extern char *optarg;
/* TODO: PATHSEPARATOR should be one of the os defines */
#define PATHSEPARATOR '/'