subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1618849 - in /subversion/trunk/subversion/libsvn_subr: deprecated.c error.c
Date Tue, 19 Aug 2014 12:25:51 GMT
Author: rhuijben
Date: Tue Aug 19 12:25:51 2014
New Revision: 1618849

URL: http://svn.apache.org/r1618849
Log:
Move two deprecated functions to deprecated.c.

* subversion/libsvn_subr/deprecated.c
  (svn_handle_error,
   svn_handle_warning): Move here...

* subversion/libsvn_subr/error.c
  (svn_handle_error,
   svn_handle_warning): ... from here.

Modified:
    subversion/trunk/subversion/libsvn_subr/deprecated.c
    subversion/trunk/subversion/libsvn_subr/error.c

Modified: subversion/trunk/subversion/libsvn_subr/deprecated.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/deprecated.c?rev=1618849&r1=1618848&r2=1618849&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/deprecated.c (original)
+++ subversion/trunk/subversion/libsvn_subr/deprecated.c Tue Aug 19 12:25:51 2014
@@ -1387,6 +1387,19 @@ svn_utf_cstring_from_utf8_ex(const char 
   return svn_utf_cstring_from_utf8_ex2(dest, src, topage, pool);
 }
 
+/*** From error.c ***/
+void
+svn_handle_error(svn_error_t *err, FILE *stream, svn_boolean_t fatal)
+{
+  svn_handle_error2(err, stream, fatal, "svn: ");
+}
+
+void
+svn_handle_warning(FILE *stream, svn_error_t *err)
+{
+  svn_handle_warning2(stream, err, "svn: ");
+}
+
 
 /*** From subst.c ***/
 svn_error_t *

Modified: subversion/trunk/subversion/libsvn_subr/error.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/error.c?rev=1618849&r1=1618848&r2=1618849&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/error.c (original)
+++ subversion/trunk/subversion/libsvn_subr/error.c Tue Aug 19 12:25:51 2014
@@ -537,12 +537,6 @@ print_error(svn_error_t *err, FILE *stre
 }
 
 void
-svn_handle_error(svn_error_t *err, FILE *stream, svn_boolean_t fatal)
-{
-  svn_handle_error2(err, stream, fatal, "svn: ");
-}
-
-void
 svn_handle_error2(svn_error_t *err,
                   FILE *stream,
                   svn_boolean_t fatal,
@@ -613,13 +607,6 @@ svn_handle_error2(svn_error_t *err,
     }
 }
 
-
-void
-svn_handle_warning(FILE *stream, svn_error_t *err)
-{
-  svn_handle_warning2(stream, err, "svn: ");
-}
-
 void
 svn_handle_warning2(FILE *stream, const svn_error_t *err, const char *prefix)
 {



Mime
View raw message