subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1440694 - in /subversion/trunk/subversion: include/private/svn_diff_tree.h libsvn_diff/diff_tree.c
Date Wed, 30 Jan 2013 21:51:40 GMT
Author: rhuijben
Date: Wed Jan 30 21:51:40 2013
New Revision: 1440694

URL: http://svn.apache.org/viewvc?rev=1440694&view=rev
Log:
* subversion/include/private/svn_diff_tree.h
  (svn_diff__tree_processor_reverse_create): Constify argument.

* subversion/libsvn_diff/diff_tree.c
  (reverse_tree_baton_t): Constify variable.
  (svn_diff__tree_processor_reverse_create): Constify argument.

Modified:
    subversion/trunk/subversion/include/private/svn_diff_tree.h
    subversion/trunk/subversion/libsvn_diff/diff_tree.c

Modified: subversion/trunk/subversion/include/private/svn_diff_tree.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/private/svn_diff_tree.h?rev=1440694&r1=1440693&r2=1440694&view=diff
==============================================================================
--- subversion/trunk/subversion/include/private/svn_diff_tree.h (original)
+++ subversion/trunk/subversion/include/private/svn_diff_tree.h Wed Jan 30 21:51:40 2013
@@ -229,7 +229,7 @@ svn_diff__tree_processor_create(void *ba
  * @since New in 1.8.
  */ /* Used by libsvn clients repository diff */
 const svn_diff_tree_processor_t *
-svn_diff__tree_processor_reverse_create(svn_diff_tree_processor_t * processor,
+svn_diff__tree_processor_reverse_create(const svn_diff_tree_processor_t * processor,
                                         const char *prefix_relpath,
                                         apr_pool_t *result_pool);
 

Modified: subversion/trunk/subversion/libsvn_diff/diff_tree.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_diff/diff_tree.c?rev=1440694&r1=1440693&r2=1440694&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_diff/diff_tree.c (original)
+++ subversion/trunk/subversion/libsvn_diff/diff_tree.c Wed Jan 30 21:51:40 2013
@@ -237,7 +237,7 @@ svn_diff__tree_processor_create(void *ba
 
 struct reverse_tree_baton_t
 {
-  svn_diff_tree_processor_t *processor;
+  const svn_diff_tree_processor_t *processor;
   const char *prefix_relpath;
 };
 
@@ -545,7 +545,7 @@ reverse_node_absent(const char *relpath,
 
 
 const svn_diff_tree_processor_t *
-svn_diff__tree_processor_reverse_create(svn_diff_tree_processor_t * processor,
+svn_diff__tree_processor_reverse_create(const svn_diff_tree_processor_t * processor,
                                         const char *prefix_relpath,
                                         apr_pool_t *result_pool)
 {



Mime
View raw message