apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/file_io/unix dir.c
Date Sun, 15 Dec 2002 05:17:52 GMT
wrowe       2002/12/14 21:17:52

  Modified:    file_io/unix dir.c
  Log:
    Untested... but Ryan's assertion was correct, this should be static.
  
  Revision  Changes    Path
  1.69      +2 -2      apr/file_io/unix/dir.c
  
  Index: dir.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/unix/dir.c,v
  retrieving revision 1.68
  retrieving revision 1.69
  diff -u -r1.68 -r1.69
  --- dir.c	15 Dec 2002 03:24:34 -0000	1.68
  +++ dir.c	15 Dec 2002 05:17:51 -0000	1.69
  @@ -141,7 +141,7 @@
   }
   
   #ifdef DIRENT_TYPE
  -apr_filetype_e apr_filetype_from_dirent_type(int type)
  +static apr_filetype_e filetype_from_dirent_type(int type)
   {
       switch (type) {
       case DT_REG:
  @@ -251,7 +251,7 @@
           finfo->pool = thedir->pool;
           finfo->valid = 0;
   #ifdef DIRENT_TYPE
  -        finfo->filetype = apr_filetype_from_dirent_type(thedir->entry->DIRENT_TYPE);
  +        finfo->filetype = filetype_from_dirent_type(thedir->entry->DIRENT_TYPE);
           finfo->valid |= APR_FINFO_TYPE;
   #endif
   #ifdef DIRENT_INODE
  
  
  

Mime
View raw message