apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr/include/arch/unix apr_arch_file_io.h
Date Thu, 13 Feb 2003 13:24:48 GMT
trawick     2003/02/13 05:24:48

  Modified:    file_io/unix filepath.c filepath_util.c
               include/arch/unix apr_arch_file_io.h
  Log:
  get the prototypes for these functions in the right place
  so they actually do some good
  
  > filepath_util.c:70: warning: no previous prototype for \
  `apr_filepath_list_split_impl'
  > filepath_util.c:107: warning: no previous prototype for \
  `apr_filepath_list_merge_impl'
  
  Revision  Changes    Path
  1.22      +1 -11     apr/file_io/unix/filepath.c
  
  Index: filepath.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/unix/filepath.c,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- filepath.c	12 Feb 2003 20:20:56 -0000	1.21
  +++ filepath.c	13 Feb 2003 13:24:48 -0000	1.22
  @@ -325,29 +325,19 @@
       return APR_SUCCESS;
   }
   
  -
  -apr_status_t apr_filepath_list_split_impl(apr_array_header_t **pathelts,
  -                                          const char *liststr,
  -                                          char separator,
  -                                          apr_pool_t *p);
  -apr_status_t apr_filepath_list_merge_impl(char **liststr,
  -                                          apr_array_header_t *pathelts,
  -                                          char separator,
  -                                          apr_pool_t *p);
  -
   APR_DECLARE(apr_status_t) apr_filepath_list_split(apr_array_header_t **pathelts,
                                                     const char *liststr,
                                                     apr_pool_t *p)
   {
       return apr_filepath_list_split_impl(pathelts, liststr, ':', p);
   }
  +
   APR_DECLARE(apr_status_t) apr_filepath_list_merge(char **liststr,
                                                     apr_array_header_t *pathelts,
                                                     apr_pool_t *p)
   {
       return apr_filepath_list_merge_impl(liststr, pathelts, ':', p);
   }
  -
   
   APR_DECLARE(apr_status_t) apr_filepath_encoding(int *style, apr_pool_t *p)
   {
  
  
  
  1.3       +1 -1      apr/file_io/unix/filepath_util.c
  
  Index: filepath_util.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/unix/filepath_util.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- filepath_util.c	12 Feb 2003 22:28:12 -0000	1.2
  +++ filepath_util.c	13 Feb 2003 13:24:48 -0000	1.3
  @@ -61,7 +61,7 @@
   #include "apr_pools.h"
   #include "apr_strings.h"
   #include "apr_tables.h"
  -
  +#include "apr_arch_file_io.h"
   
   apr_status_t apr_filepath_list_split_impl(apr_array_header_t **pathelts,
                                             const char *liststr,
  
  
  
  1.2       +9 -0      apr/include/arch/unix/apr_arch_file_io.h
  
  Index: apr_arch_file_io.h
  ===================================================================
  RCS file: /home/cvs/apr/include/arch/unix/apr_arch_file_io.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- apr_arch_file_io.h	7 Jan 2003 00:52:54 -0000	1.1
  +++ apr_arch_file_io.h	13 Feb 2003 13:24:48 -0000	1.2
  @@ -153,6 +153,15 @@
   
   mode_t apr_unix_perms2mode(apr_fileperms_t perms);
   apr_fileperms_t apr_unix_mode2perms(mode_t mode);
  +apr_status_t apr_filepath_list_split_impl(apr_array_header_t **pathelts,
  +                                          const char *liststr,
  +                                          char separator,
  +                                          apr_pool_t *p);
  +apr_status_t apr_filepath_list_merge_impl(char **liststr,
  +                                          apr_array_header_t *pathelts,
  +                                          char separator,
  +                                          apr_pool_t *p);
  +
   
   #endif  /* ! FILE_IO_H */
   
  
  
  

Mime
View raw message