httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/modules/experimental mod_mmap_static.c
Date Mon, 03 Jul 2000 16:36:57 GMT
trawick     00/07/03 09:36:57

  Modified:    src/modules/experimental mod_mmap_static.c
  Log:
  convert to new AP_INIT_xxx command definition system and constify to
  get rid of compiler warnings
  Submitted by:	Greg Ames
  Reviewed by:	Jeff Trawick
  
  Revision  Changes    Path
  1.16      +3 -3      apache-2.0/src/modules/experimental/mod_mmap_static.c
  
  Index: mod_mmap_static.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/experimental/mod_mmap_static.c,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- mod_mmap_static.c	2000/06/12 23:02:54	1.15
  +++ mod_mmap_static.c	2000/07/03 16:36:56	1.16
  @@ -167,7 +167,7 @@
       return APR_SUCCESS;
   }
   
  -static const char *mmapfile(cmd_parms *cmd, void *dummy, char *filename)
  +static const char *mmapfile(cmd_parms *cmd, void *dummy, const char *filename)
   {
       a_server_config *sconf;
       a_file *new_file;
  @@ -325,8 +325,8 @@
   
   static command_rec mmap_cmds[] =
   {
  -    {"mmapfile", mmapfile, NULL, RSRC_CONF, ITERATE,
  -     "A space seperated list of files to mmap at config time"},
  +AP_INIT_ITERATE("mmapfile", mmapfile, NULL, RSRC_CONF,
  +     "A space seperated list of files to mmap at config time"),
       {NULL}
   };
   
  
  
  

Mime
View raw message