From: Jeff Trawick Date: Sun, 29 Mar 2009 13:59:07 +0000 (+0000) Subject: axe ancient platform checks X-Git-Tag: 2.3.3~763 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b949658d4d1612ad5cf9eb0736733431210b8d2f;p=thirdparty%2Fapache%2Fhttpd.git axe ancient platform checks git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759682 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index d8c85a83524..06c31b53dff 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -64,15 +64,7 @@ * and must be listed in order. */ -#ifdef UTS21 -/* The second const triggers an assembler bug on UTS 2.1. - * Another workaround is to move some code out of this file into another, - * but this is easier. Dave Dykstra, 3/31/99 - */ -static const char * status_lines[RESPONSE_CODES] = -#else static const char * const status_lines[RESPONSE_CODES] = -#endif { "100 Continue", "101 Switching Protocols", diff --git a/server/mpm/prefork/prefork.c b/server/mpm/prefork/prefork.c index 5546206600c..e2f7d5b470a 100644 --- a/server/mpm/prefork/prefork.c +++ b/server/mpm/prefork/prefork.c @@ -131,9 +131,7 @@ static apr_pool_t *pchild; /* Pool for httpd child stuff */ static pid_t ap_my_pid; /* it seems silly to call getpid all the time */ static pid_t parent_pid; -#ifndef MULTITHREAD static int my_child_num; -#endif static ap_generation_t volatile my_generation=0; static volatile int die_now = 0;