move command processor function prototype to the proper .h file for visibility to
the compilation unit containing the function implementation (tweak to r1311569)
git-svn-id: https://svn.apache.org/repos/asf/httpd/mod_fcgid/trunk@1312049 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/modules/fcgid/fcgid_conf.h b/modules/fcgid/fcgid_conf.h
index c3d31d4..6a4c438 100644
--- a/modules/fcgid/fcgid_conf.h
+++ b/modules/fcgid/fcgid_conf.h
@@ -253,12 +253,18 @@
const char *set_max_requests_per_process(cmd_parms * cmd, void *dummy,
const char *arg);
+#ifdef WIN32
+const char *set_win32_prevent_process_orphans(cmd_parms *cmd, void *dummy,
+ char *arg);
+#endif
+
const char *set_cmd_options(cmd_parms *cmd, void *dummy,
const char *arg);
void get_cmd_options(request_rec *r, const char *cmdpath,
fcgid_cmd_options *cmdopts, fcgid_cmd_env *cmdenv);
+
AP_MODULE_DECLARE_DATA extern module fcgid_module;
#endif
diff --git a/modules/fcgid/mod_fcgid.c b/modules/fcgid/mod_fcgid.c
index c7ef504..cf94c41 100644
--- a/modules/fcgid/mod_fcgid.c
+++ b/modules/fcgid/mod_fcgid.c
@@ -802,11 +802,6 @@
return APR_SUCCESS;
}
-#ifdef WIN32
-const char *set_win32_prevent_process_orphans(cmd_parms *cmd, void *dummy,
- char *arg);
-#endif
-
static const command_rec fcgid_cmds[] = {
AP_INIT_TAKE1("FcgidAccessChecker", set_access_info, NULL,
ACCESS_CONF | OR_FILEINFO,