From: Paul Querna Date: Fri, 3 Jun 2005 20:35:27 +0000 (+0000) Subject: * server/main.c: Remove the suck_in_apr_password_validate() hack. apr_password_valid... X-Git-Tag: 2.1.5~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4369f78a12fed53e72772e2710cce7eaf075117;p=thirdparty%2Fapache%2Fhttpd.git * server/main.c: Remove the suck_in_apr_password_validate() hack. apr_password_validate is part of the public APR interface and this hack should not be needed on any platform. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@179879 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/main.c b/server/main.c index 2fd47ce98a8..732b10097b6 100644 --- a/server/main.c +++ b/server/main.c @@ -713,18 +713,6 @@ int main(int argc, const char * const argv[]) return 0; /* Termination 'ok' */ } -#ifndef SHARED_CORE_BOOTSTRAP -/* - * Force apr_password_validate() into the image so that modules like - * mod_auth can use it even if they're dynamically loaded. - */ -void suck_in_apr_password_validate(void); -void suck_in_apr_password_validate(void) -{ - apr_password_validate("a", "b"); -} -#endif - #ifdef AP_USING_AUTOCONF /* This ugly little hack pulls any function referenced in exports.c into * the web server. exports.c is generated during the build, and it