httpd.exp and lots of other export files are generated based on the

AP[RU]_DECLARE macros. This commit gets mod_cgid working again as a DSO on
AIX.
However, this brings up the need to look for any functions that are
available as part of the API, and AP[RU]_DECLAREing them, so things don't
blow up in DSOs.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89790 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Victor J. Orlikowski
2001-07-30 17:55:38 +00:00
parent a685e2a0e8
commit 45b321443b
4 changed files with 14 additions and 10 deletions

View File

@ -147,7 +147,7 @@ static int set_group_privs(void)
}
int unixd_setup_child(void)
AP_DECLARE(int) unixd_setup_child(void)
{
if (set_group_privs()) {
return -1;
@ -182,7 +182,8 @@ int unixd_setup_child(void)
}
const char *unixd_set_user(cmd_parms *cmd, void *dummy, const char *arg)
AP_DECLARE(const char *) unixd_set_user(cmd_parms *cmd, void *dummy,
const char *arg)
{
const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY);
if (err != NULL) {
@ -208,7 +209,8 @@ const char *unixd_set_user(cmd_parms *cmd, void *dummy, const char *arg)
return NULL;
}
const char *unixd_set_group(cmd_parms *cmd, void *dummy, const char *arg)
AP_DECLARE(const char *) unixd_set_group(cmd_parms *cmd, void *dummy,
const char *arg)
{
const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY);
if (err != NULL) {
@ -220,7 +222,7 @@ const char *unixd_set_group(cmd_parms *cmd, void *dummy, const char *arg)
return NULL;
}
void unixd_pre_config(apr_pool_t *ptemp)
AP_DECLARE(void) unixd_pre_config(apr_pool_t *ptemp)
{
apr_finfo_t wrapper;