]> granicus.if.org Git - apache/commitdiff
Fix constness problem reported by gcc:
authorCliff Woolley <jwoolley@apache.org>
Tue, 18 Sep 2001 03:33:30 +0000 (03:33 +0000)
committerCliff Woolley <jwoolley@apache.org>
Tue, 18 Sep 2001 03:33:30 +0000 (03:33 +0000)
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

modules/generators/mod_cgi.c

index 13431d3857e0ce36097b7f4d4eeb543287af4bf7..633d9458eeaa549a89f25d03a3c1e00c60fd4c6f 100644 (file)
@@ -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;