2 There is no need to "suck in" the apr/apr-util symbols when using
3 a shared libapr{,util}, it just bloats the symbol table; so don't.
5 --- httpd-2.0.48/server/main.c.export
6 +++ httpd-2.0.48/server/main.c
8 return 0; /* Termination 'ok' */
11 -/* force Expat to be linked into the server executable */
12 -#if defined(USE_EXPAT) && !defined(SHARED_CORE_BOOTSTRAP)
13 -#include "xmlparse.h"
14 -const XML_LChar *suck_in_expat(void);
15 -const XML_LChar *suck_in_expat(void)
17 - return XML_ErrorString(XML_ERROR_NONE);
19 -#endif /* USE_EXPAT */
21 -#ifndef SHARED_CORE_BOOTSTRAP
23 - * Force apr_password_validate() into the image so that modules like
24 - * mod_auth can use it even if they're dynamically loaded.
26 -void suck_in_apr_password_validate(void);
27 -void suck_in_apr_password_validate(void)
29 - apr_password_validate("a", "b");
33 #ifdef AP_USING_AUTOCONF
34 /* This ugly little hack pulls any function referenced in exports.c into
35 * the web server. exports.c is generated during the build, and it