subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@apache.org
Subject svn commit: r1140735 - /subversion/trunk/subversion/libsvn_wc/upgrade.c
Date Tue, 28 Jun 2011 17:21:07 GMT
Author: gstein
Date: Tue Jun 28 17:21:07 2011
New Revision: 1140735

URL: http://svn.apache.org/viewvc?rev=1140735&view=rev
Log:
Constify some parameters.

* subversion/libsvn_wc/upgrade.c:
  (upgrade_to_wcng, upgrade_working_copy): constify the DATA param
  (struct upgrade_working_copy_baton_t): constify the DATA member

Modified:
    subversion/trunk/subversion/libsvn_wc/upgrade.c

Modified: subversion/trunk/subversion/libsvn_wc/upgrade.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/upgrade.c?rev=1140735&r1=1140734&r2=1140735&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/upgrade.c (original)
+++ subversion/trunk/subversion/libsvn_wc/upgrade.c Tue Jun 28 17:21:07 2011
@@ -1383,7 +1383,7 @@ upgrade_to_wcng(void **dir_baton,
                 svn_wc_upgrade_get_repos_info_t repos_info_func,
                 void *repos_info_baton,
                 apr_hash_t *repos_cache,
-                struct upgrade_data_t *data,
+                const struct upgrade_data_t *data,
                 apr_pool_t *result_pool,
                 apr_pool_t *scratch_pool)
 {
@@ -1654,7 +1654,7 @@ upgrade_working_copy(void *parent_baton,
                      svn_wc_upgrade_get_repos_info_t repos_info_func,
                      void *repos_info_baton,
                      apr_hash_t *repos_cache,
-                     struct upgrade_data_t *data,
+                     const struct upgrade_data_t *data,
                      svn_cancel_func_t cancel_func,
                      void *cancel_baton,
                      svn_wc_notify_func2_t notify_func,
@@ -1813,7 +1813,7 @@ typedef struct upgrade_working_copy_bato
   svn_wc_upgrade_get_repos_info_t repos_info_func;
   void *repos_info_baton;
   apr_hash_t *repos_cache;
-  struct upgrade_data_t *data;
+  const struct upgrade_data_t *data;
   svn_cancel_func_t cancel_func;
   void *cancel_baton;
   svn_wc_notify_func2_t notify_func;



Mime
View raw message