Commit 139f7f50 authored by Paul Querna's avatar Paul Querna
Browse files

* server/main.c: Remove the suck_in_apr_password_validate() hack. ...

* 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
parent 38fbba29
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -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