apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr-util/dbm/sdbm sdbm.c sdbm_hash.c
Date Mon, 30 Apr 2001 23:21:23 GMT
trawick     01/04/30 16:21:23

  Modified:    dbm/sdbm sdbm.c sdbm_hash.c
  Log:
  fix a couple of compile warnings in the dbm stuff...
  . make prep() static since it is only intended for use within
    sdbm.c
  . include "sdbm_private.h" from sdbm_hash.c so we see the
    prototype for the non-static sdbm_hash()
  
  Revision  Changes    Path
  1.15      +2 -2      apr-util/dbm/sdbm/sdbm.c
  
  Index: sdbm.c
  ===================================================================
  RCS file: /home/cvs/apr-util/dbm/sdbm/sdbm.c,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- sdbm.c	2001/04/30 19:03:47	1.14
  +++ sdbm.c	2001/04/30 23:21:16	1.15
  @@ -124,8 +124,8 @@
       return APR_SUCCESS;
   }
   
  -apr_status_t prep(apr_sdbm_t **pdb, const char *dirname, const char *pagname,
  -                       apr_int32_t flags, apr_fileperms_t perms, apr_pool_t *p)
  +static apr_status_t prep(apr_sdbm_t **pdb, const char *dirname, const char *pagname,
  +                         apr_int32_t flags, apr_fileperms_t perms, apr_pool_t *p)
   {
       apr_sdbm_t *db;
       apr_finfo_t finfo;
  
  
  
  1.4       +1 -0      apr-util/dbm/sdbm/sdbm_hash.c
  
  Index: sdbm_hash.c
  ===================================================================
  RCS file: /home/cvs/apr-util/dbm/sdbm/sdbm_hash.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- sdbm_hash.c	2001/02/16 04:17:09	1.3
  +++ sdbm_hash.c	2001/04/30 23:21:17	1.4
  @@ -62,6 +62,7 @@
    */
   
   #include "apr_sdbm.h"
  +#include "sdbm_private.h"
   
   /*
    * polynomial conversion ignoring overflows
  
  
  

Mime
View raw message