]> granicus.if.org Git - apache/commitdiff
Fix the signature of no_set_limit() to avoid a warning when
authorJeff Trawick <trawick@apache.org>
Tue, 24 Oct 2000 17:21:41 +0000 (17:21 +0000)
committerJeff Trawick <trawick@apache.org>
Tue, 24 Oct 2000 17:21:41 +0000 (17:21 +0000)
AP_DEBUG is defined. (no_set_limit() is compiled only if we
are missing one of the RLIMIT definitions.)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86736 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_core.c

index 690307ebceaf0bff45b2a609496a8e77355bf21e..4e632f5cc48c5a2fb7d5e9346ff4c040d94df8fd 100644 (file)
@@ -2515,7 +2515,7 @@ static const char *set_interpreter_source(cmd_parms *cmd, core_dir_config *d,
 #endif
 
 #if !defined (RLIMIT_CPU) || !(defined (RLIMIT_DATA) || defined (RLIMIT_VMEM) || defined(RLIMIT_AS)) || !defined (RLIMIT_NPROC)
-static const char *no_set_limit(cmd_parms *cmd, core_dir_config *conf,
+static const char *no_set_limit(cmd_parms *cmd, void *conf_,
                                 const char *arg, const char *arg2)
 {
     ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, cmd->server,