You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2007/04/02 18:02:17 UTC
svn commit: r524822 - /apr/apr/trunk/file_io/unix/readwrite.c
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;
}