You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2001/04/10 18:26:23 UTC

cvs commit: httpd-2.0/modules/filters mod_include.h mod_include.c

wrowe       01/04/10 09:26:23

  Modified:    modules/filters mod_include.h mod_include.c
  Log:
    We seem to use fn_t *fn throughout the rest of apache, so normalize this
    syntax for mod_include's include_handler(_t)
  
  Revision  Changes    Path
  1.16      +2 -2      httpd-2.0/modules/filters/mod_include.h
  
  Index: mod_include.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/filters/mod_include.h,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- mod_include.h	2001/03/02 06:58:00	1.15
  +++ mod_include.h	2001/04/10 16:26:21	1.16
  @@ -195,7 +195,7 @@
   }
   
   
  -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 @@
                                                       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 */
  
  
  
  1.106     +1 -1      httpd-2.0/modules/filters/mod_include.c
  
  Index: mod_include.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/filters/mod_include.c,v
  retrieving revision 1.105
  retrieving revision 1.106
  diff -u -r1.105 -r1.106
  --- mod_include.c	2001/03/08 20:03:37	1.105
  +++ mod_include.c	2001/04/10 16:26:21	1.106
  @@ -2790,7 +2790,7 @@
       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);
   }