]> granicus.if.org Git - apache/commitdiff
Make ``configure --with-option=devel'' under
authorRalf S. Engelschall <rse@apache.org>
Sat, 28 Aug 1999 12:22:10 +0000 (12:22 +0000)
committerRalf S. Engelschall <rse@apache.org>
Sat, 28 Aug 1999 12:22:10 +0000 (12:22 +0000)
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

modules/http/http_protocol.c
server/connection.c
server/main.c

index 618121de4a1e27f65deb166bdb5569f2e5bc9174..43cefb8dbcf773ddf7d3cc9115d8ef69878fe095 100644 (file)
@@ -80,7 +80,7 @@ HOOK_STRUCT(
            HOOK_LINK(log_transaction)
            HOOK_LINK(http_method)
            HOOK_LINK(default_port)
-);
+)
 
 #define SET_BYTES_SENT(r) \
   do { if (r->sent_bodyct) \
index e2714ac940802c361ac91ee1aa3f482b3d3da12a..a9f0eac51469ea3d08720405fbb199a7256bb7fa 100644 (file)
@@ -67,7 +67,7 @@
 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)
index 7e443bf8798ecc595b1fda8ef5de169b9b6fb5dc..93f87fde8811e74d5ef09e3c53404b6477b32651 100644 (file)
@@ -233,6 +233,9 @@ static void usage(char *bin)
 }
 
 pool *g_pHookPool;
+
+extern char *optarg;
+
 #ifdef WIN32
 __declspec(dllexport)
      int apache_main(int argc, char *argv[])
@@ -251,7 +254,6 @@ int 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 '/'