]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
We seem to use fn_t *fn throughout the rest of apache, so normalize this
authorWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 10 Apr 2001 16:26:21 +0000 (16:26 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 10 Apr 2001 16:26:21 +0000 (16:26 +0000)
  syntax for mod_include's include_handler(_t)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88782 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/mod_include.c
modules/filters/mod_include.h

index 4cdf5035a3402a63d1ffbe059ead3608a38b3dd3..7e2e182d62c3679ddb027e22eed252578f3d5b7d 100644 (file)
@@ -2790,7 +2790,7 @@ static int includes_filter(ap_filter_t *f, apr_bucket_brigade *b)
     return OK;
 }
 
-static void ap_register_include_handler(char *tag, include_handler func)
+static void ap_register_include_handler(char *tag, include_handler *func)
 {
     apr_hash_set(include_hash, tag, strlen(tag) + 1, (const void *)func);
 }
index 48e766fd925e740a975d3b888bce7747fd9de2b9..8a4e4b62cc55fe0bd60ac05c1bda0c7707c3318c 100644 (file)
@@ -195,7 +195,7 @@ if ((APR_BRIGADE_EMPTY(cntxt->ssi_tag_brigade)) &&                \
 }
 
 
-typedef int (*include_handler)(include_ctx_t *ctx, apr_bucket_brigade **bb, 
+typedef int (include_handler)(include_ctx_t *ctx, apr_bucket_brigade **bb, 
                        request_rec *r, ap_filter_t *f, apr_bucket *head_ptr, 
                        apr_bucket **inserted_head);
 
@@ -209,6 +209,6 @@ APR_DECLARE_OPTIONAL_FN(void, ap_ssi_parse_string, (request_rec *r,
                                                     size_t length,
                                                     int leave_name));
 APR_DECLARE_OPTIONAL_FN(void, ap_register_include_handler, (char *tag,
-                                                         include_handler func));
+                                                         include_handler *func));
 
 #endif /* MOD_INCLUDE */