joes 2003/10/16 23:10:35
Modified: src apreq.c apreq.h
Log:
drop const qualifier from first argument to apreq_header_attribute (mainly
because it confuses XSBuilder).
Revision Changes Path
1.28 +1 -1 httpd-apreq-2/src/apreq.c
Index: apreq.c
===================================================================
RCS file: /home/cvs/httpd-apreq-2/src/apreq.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- apreq.c 14 Oct 2003 18:15:38 -0000 1.27
+++ apreq.c 17 Oct 2003 06:10:35 -0000 1.28
@@ -753,7 +753,7 @@
}
APREQ_DECLARE(apr_status_t)
- apreq_header_attribute(const char *const hdr,
+ apreq_header_attribute(const char *hdr,
const char *name, const apr_size_t nlen,
const char **val, apr_size_t *vlen)
{
1.35 +3 -4 httpd-apreq-2/src/apreq.h
Index: apreq.h
===================================================================
RCS file: /home/cvs/httpd-apreq-2/src/apreq.h,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- apreq.h 14 Oct 2003 18:15:38 -0000 1.34
+++ apreq.h 17 Oct 2003 06:10:35 -0000 1.35
@@ -396,14 +396,13 @@
APREQ_DECLARE(apr_file_t *) apreq_brigade_spoolfile(apr_bucket_brigade *bb);
-
APREQ_DECLARE(apr_bucket_brigade *)
apreq_copy_brigade(const apr_bucket_brigade *bb);
APREQ_DECLARE(apr_status_t)
- apreq_header_attribute(const char *const hdr,
- const char *name, const apr_size_t nlen,
- const char **val, apr_size_t *vlen);
+ apreq_header_attribute(const char *hdr,
+ const char *name, const apr_size_t nlen,
+ const char **val, apr_size_t *vlen);
/** @} */