apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r524822 - /apr/apr/trunk/file_io/unix/readwrite.c
Date Mon, 02 Apr 2007 16:02:17 GMT
Author: jorton
Date: Mon Apr  2 09:02:17 2007
New Revision: 524822

URL: http://svn.apache.org/viewvc?view=rev&rev=524822
Log:
* file_io/unix/readwrite.c: Minor style fixes, no functional change:
non-public functions shouldn't have the apr_ prefix; wrap a long line.

Modified:
    apr/apr/trunk/file_io/unix/readwrite.c

Modified: apr/apr/trunk/file_io/unix/readwrite.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/file_io/unix/readwrite.c?view=diff&rev=524822&r1=524821&r2=524822
==============================================================================
--- apr/apr/trunk/file_io/unix/readwrite.c (original)
+++ apr/apr/trunk/file_io/unix/readwrite.c Mon Apr  2 09:02:17 2007
@@ -25,7 +25,8 @@
 #define USE_WAIT_FOR_IO
 #endif
 
-static apr_status_t apr_file_read_buffered(apr_file_t *thefile, void *buf, apr_size_t *nbytes)
+static apr_status_t file_read_buffered(apr_file_t *thefile, void *buf,
+                                       apr_size_t *nbytes)
 {
     apr_ssize_t rv;
     char *pos = (char *)buf;
@@ -98,7 +99,7 @@
         }
 #endif
 
-        rv = apr_file_read_buffered(thefile, buf, nbytes);
+        rv = file_read_buffered(thefile, buf, nbytes);
 
 #if APR_HAS_THREADS
         if (thefile->thlock) {
@@ -377,7 +378,7 @@
             }
             else {
                 nbytes = 1;
-                rv = apr_file_read_buffered(thefile, str, &nbytes);
+                rv = file_read_buffered(thefile, str, &nbytes);
                 if (rv != APR_SUCCESS) {
                     break;
                 }



Mime
View raw message