You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2012/10/31 06:00:52 UTC
svn commit: r1403983 - /subversion/trunk/subversion/libsvn_subr/io.c
Author: danielsh
Date: Wed Oct 31 05:00:52 2012
New Revision: 1403983
URL: http://svn.apache.org/viewvc?rev=1403983&view=rev
Log:
Unbreak the build.
* subversion/libsvn_subr/io.c:
Move forward declarations to precede first use of the delcaree.
Modified:
subversion/trunk/subversion/libsvn_subr/io.c
Modified: subversion/trunk/subversion/libsvn_subr/io.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/io.c?rev=1403983&r1=1403982&r2=1403983&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/io.c (original)
+++ subversion/trunk/subversion/libsvn_subr/io.c Wed Oct 31 05:00:52 2012
@@ -138,6 +138,14 @@
#endif
#endif
+/* Forward declaration */
+static apr_status_t
+dir_is_empty(const char *dir, apr_pool_t *pool);
+static APR_INLINE svn_error_t *
+do_io_file_wrapper_cleanup(apr_file_t *file, apr_status_t status,
+ const char *msg, const char *msg_no_name,
+ apr_pool_t *pool);
+
/* Local wrapper of svn_path_cstring_to_utf8() that does no copying on
* operating systems where APR always uses utf-8 as native path format */
static svn_error_t *
@@ -3718,15 +3726,6 @@ svn_io_dir_open(apr_dir_t **new_dir, con
return SVN_NO_ERROR;
}
-/* Forward declaration */
-static apr_status_t
-dir_is_empty(const char *dir, apr_pool_t *pool);
-static APR_INLINE svn_error_t *
-do_io_file_wrapper_cleanup(apr_file_t *file, apr_status_t status,
- const char *msg, const char *msg_no_name,
- apr_pool_t *pool);
-
-
svn_error_t *
svn_io_dir_remove_nonrecursive(const char *dirname, apr_pool_t *pool)
{