From: Cliff Woolley Date: Tue, 18 Sep 2001 03:33:30 +0000 (+0000) Subject: Fix constness problem reported by gcc: X-Git-Tag: 2.0.26~234 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0db50e73c4ecdd8c2fe303ad62bf1afbe28e5bc1;p=apache Fix constness problem reported by gcc: mod_cgi.c: In function `include_cmd': mod_cgi.c:812: warning: passing arg 1 of pointer to function from incompatible pointer type Reported by: Ian's autobuild git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91062 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/generators/mod_cgi.c b/modules/generators/mod_cgi.c index 13431d3857..633d9458ee 100644 --- a/modules/generators/mod_cgi.c +++ b/modules/generators/mod_cgi.c @@ -799,8 +799,8 @@ static int include_cgi(char *s, request_rec *r, ap_filter_t *next, } -static int include_cmd(include_ctx_t *ctx, apr_bucket_brigade **bb, char *command, - request_rec *r, ap_filter_t *f) +static int include_cmd(include_ctx_t *ctx, apr_bucket_brigade **bb, + const char *command, request_rec *r, ap_filter_t *f) { exec_info e_info; const char **argv;