summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2002-03-20 13:03:49 +0100
committerJeff Trawick <trawick@apache.org>2002-03-20 13:03:49 +0100
commitf3c3ebe7f5c2497d3adb96cd08aebc5b634ee6d9 (patch)
tree1f06bcc568a270930533691ddea4fd2f31e0935d /include
parent No sense in opening this event when it's already opened in the parent. (diff)
downloadapache2-f3c3ebe7f5c2497d3adb96cd08aebc5b634ee6d9.tar.xz
apache2-f3c3ebe7f5c2497d3adb96cd08aebc5b634ee6d9.zip
ap_rset_content_type() should take const char * instead of char *
this is friendlier to callers and r->content_type is const char * too so it isn't harmful this fixes a fatal compile error with AIX+xlc git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94051 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/http_protocol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/http_protocol.h b/include/http_protocol.h
index ae9d801a25..5e85b11155 100644
--- a/include/http_protocol.h
+++ b/include/http_protocol.h
@@ -323,7 +323,7 @@ AP_DECLARE(void) ap_clear_method_list(ap_method_list_t *l);
/**
*
*/
-AP_DECLARE(void) ap_rset_content_type(char *str, request_rec *r);
+AP_DECLARE(void) ap_rset_content_type(const char *str, request_rec *r);
/* Hmmm... could macrofy these for now, and maybe forever, though the
* definitions of the macros would get a whole lot hairier.