summaryrefslogtreecommitdiff
path: root/include/http_protocol.h
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2012-01-06 18:15:08 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2012-01-06 18:15:08 +0000
commit2aa21a62b11c0a3178fc04af95458bf92710f0bc (patch)
tree2a7ac21cecd4551d3350fc78175aa09a86e8ddd1 /include/http_protocol.h
parent23b6c752ff6a7511a9bdfee3b3d66f6deb7d5b3d (diff)
downloadhttpd-2aa21a62b11c0a3178fc04af95458bf92710f0bc.tar.gz
Clean up size_t abuse, part 2. ap_malloc/calloc/realloc are explicitly
excluded from this cleanup as they must be signature identical to the clib functions, and although the definition of size_t has been flakey, the definition of those functions appears to be generally clean since ANSI C. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1228323 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_protocol.h')
-rw-r--r--include/http_protocol.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/http_protocol.h b/include/http_protocol.h
index 77493de586..377b8f1248 100644
--- a/include/http_protocol.h
+++ b/include/http_protocol.h
@@ -209,8 +209,10 @@ AP_DECLARE(apr_status_t) ap_send_fd(apr_file_t *fd, request_rec *r, apr_off_t of
* @param length The amount of data to send
* @return The number of bytes sent
*/
-AP_DECLARE(size_t) ap_send_mmap(apr_mmap_t *mm, request_rec *r, size_t offset,
- size_t length);
+AP_DECLARE(apr_size_t) ap_send_mmap(apr_mmap_t *mm,
+ request_rec *r,
+ apr_size_t offset,
+ apr_size_t length);
#endif