subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r926657 - in /subversion/trunk/subversion: include/ libsvn_client/ libsvn_delta/ libsvn_ra/ mod_dav_svn/reports/ svnserve/ tests/libsvn_repos/
Date Tue, 23 Mar 2010 16:46:37 GMT
Author: julianfoad
Date: Tue Mar 23 16:46:36 2010
New Revision: 926657

URL: http://svn.apache.org/viewvc?rev=926657&view=rev
Log:
Revert the addition of "const" to some input pointer parameters in public
function typedefs, that was part of r922239.  API compatibility was broken
by changing the typedefs in this way.

* subversion/include/svn_client.h
  (svn_client_get_commit_log_t): Remove 'const' from 'apr_array_header_t *'.

* subversion/include/svn_delta.h
  (svn_file_rev_handler_t,
   svn_file_rev_handler_old_t): Remove 'const' from 'apr_array_header_t *'.

* subversion/include/svn_ra.h
  (svn_ra_file_rev_handler_t,
   svn_ra_plugin_t.get_locations): Remove 'const' from 'apr_array_header_t *'.

* subversion/include/svn_ra_svn.h
  (svn_ra_svn_command_handler): Remove 'const' from 'apr_array_header_t *'.

* subversion/include/svn_repos.h
  (svn_repos_file_rev_handler_t): Remove 'const' from 'apr_array_header_t *'.

* subversion/libsvn_client/blame.c
  (file_rev_handler): Adjust accordingly.

* subversion/libsvn_delta/compat.c
  (file_rev_handler_wrapper): Adjust accordingly.

* subversion/libsvn_ra/wrapper_template.h
  (compat_get_locations): Adjust accordingly.

* subversion/mod_dav_svn/reports/file-revs.c
  (file_rev_handler): Adjust accordingly.

* subversion/svnserve/serve.c
  (set_path, delete_path, link_path, finish_report, abort_report, reparent,
   get_latest_rev, get_dated_rev, change_rev_prop, rev_proplist, rev_prop,
   commit, get_file, get_dir, update, switch_cmd, status, diff,
   get_mergeinfo, log_cmd, check_path, stat_cmd, get_locations,
   file_rev_handler, get_file_revs, lock, lock_many, unlock, unlock_many,
   get_lock, get_locks, replay, replay_range, get_deleted_rev):
    Adjust accordingly.

* subversion/tests/libsvn_repos/repos-test.c
  (file_rev_handler): Adjust accordingly.

Modified:
    subversion/trunk/subversion/include/svn_client.h
    subversion/trunk/subversion/include/svn_delta.h
    subversion/trunk/subversion/include/svn_ra.h
    subversion/trunk/subversion/include/svn_ra_svn.h
    subversion/trunk/subversion/include/svn_repos.h
    subversion/trunk/subversion/libsvn_client/blame.c
    subversion/trunk/subversion/libsvn_delta/compat.c
    subversion/trunk/subversion/libsvn_ra/wrapper_template.h
    subversion/trunk/subversion/mod_dav_svn/reports/file-revs.c
    subversion/trunk/subversion/svnserve/serve.c
    subversion/trunk/subversion/tests/libsvn_repos/repos-test.c

Modified: subversion/trunk/subversion/include/svn_client.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_client.h?rev=926657&r1=926656&r2=926657&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_client.h (original)
+++ subversion/trunk/subversion/include/svn_client.h Tue Mar 23 16:46:36 2010
@@ -662,7 +662,7 @@ typedef svn_error_t *(*svn_client_get_co
 typedef svn_error_t *(*svn_client_get_commit_log_t)(
   const char **log_msg,
   const char **tmp_file,
-  const apr_array_header_t *commit_items,
+  apr_array_header_t *commit_items,
   void *baton,
   apr_pool_t *pool);
 

Modified: subversion/trunk/subversion/include/svn_delta.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_delta.h?rev=926657&r1=926656&r2=926657&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_delta.h (original)
+++ subversion/trunk/subversion/include/svn_delta.h Tue Mar 23 16:46:36 2010
@@ -1181,7 +1181,7 @@ typedef svn_error_t *(*svn_file_rev_hand
   svn_boolean_t result_of_merge,
   svn_txdelta_window_handler_t *delta_handler,
   void **delta_baton,
-  const apr_array_header_t *prop_diffs,
+  apr_array_header_t *prop_diffs,
   apr_pool_t *pool);
 
 /**
@@ -1202,7 +1202,7 @@ typedef svn_error_t *(*svn_file_rev_hand
   apr_hash_t *rev_props,
   svn_txdelta_window_handler_t *delta_handler,
   void **delta_baton,
-  const apr_array_header_t *prop_diffs,
+  apr_array_header_t *prop_diffs,
   apr_pool_t *pool);
 
 /** Return, in @a *handler2 and @a *handler2_baton a function/baton that

Modified: subversion/trunk/subversion/include/svn_ra.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_ra.h?rev=926657&r1=926656&r2=926657&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_ra.h (original)
+++ subversion/trunk/subversion/include/svn_ra.h Tue Mar 23 16:46:36 2010
@@ -161,7 +161,7 @@ typedef svn_error_t *(*svn_ra_file_rev_h
   apr_hash_t *rev_props,
   svn_txdelta_window_handler_t *delta_handler,
   void **delta_baton,
-  const apr_array_header_t *prop_diffs,
+  apr_array_header_t *prop_diffs,
   apr_pool_t *pool);
 
 /**
@@ -2103,7 +2103,7 @@ typedef struct svn_ra_plugin_t
                                 apr_hash_t **locations,
                                 const char *path,
                                 svn_revnum_t peg_revision,
-                                const apr_array_header_t *location_revisions,
+                                apr_array_header_t *location_revisions,
                                 apr_pool_t *pool);
 
   /**

Modified: subversion/trunk/subversion/include/svn_ra_svn.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_ra_svn.h?rev=926657&r1=926656&r2=926657&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_ra_svn.h (original)
+++ subversion/trunk/subversion/include/svn_ra_svn.h Tue Mar 23 16:46:36 2010
@@ -114,7 +114,7 @@ typedef struct svn_ra_svn_conn_st svn_ra
 /** Command handler, used by svn_ra_svn_handle_commands(). */
 typedef svn_error_t *(*svn_ra_svn_command_handler)(svn_ra_svn_conn_t *conn,
                                                    apr_pool_t *pool,
-                                                   const apr_array_header_t *params,
+                                                   apr_array_header_t *params,
                                                    void *baton);
 
 /** Command table, used by svn_ra_svn_handle_commands().

Modified: subversion/trunk/subversion/include/svn_repos.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_repos.h?rev=926657&r1=926656&r2=926657&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_repos.h (original)
+++ subversion/trunk/subversion/include/svn_repos.h Tue Mar 23 16:46:36 2010
@@ -160,7 +160,7 @@ typedef svn_error_t *(*svn_repos_file_re
    apr_hash_t *rev_props,
    svn_txdelta_window_handler_t *delta_handler,
    void **delta_baton,
-   const apr_array_header_t *prop_diffs,
+   apr_array_header_t *prop_diffs,
    apr_pool_t *pool);
 
 

Modified: subversion/trunk/subversion/libsvn_client/blame.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/blame.c?rev=926657&r1=926656&r2=926657&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/blame.c (original)
+++ subversion/trunk/subversion/libsvn_client/blame.c Tue Mar 23 16:46:36 2010
@@ -407,7 +407,7 @@ file_rev_handler(void *baton, const char
                  svn_boolean_t merged_revision,
                  svn_txdelta_window_handler_t *content_delta_handler,
                  void **content_delta_baton,
-                 const apr_array_header_t *prop_diffs,
+                 apr_array_header_t *prop_diffs,
                  apr_pool_t *pool)
 {
   struct file_rev_baton *frb = baton;

Modified: subversion/trunk/subversion/libsvn_delta/compat.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_delta/compat.c?rev=926657&r1=926656&r2=926657&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_delta/compat.c (original)
+++ subversion/trunk/subversion/libsvn_delta/compat.c Tue Mar 23 16:46:36 2010
@@ -42,7 +42,7 @@ file_rev_handler_wrapper(void *baton,
                          svn_boolean_t result_of_merge,
                          svn_txdelta_window_handler_t *delta_handler,
                          void **delta_baton,
-                         const apr_array_header_t *prop_diffs,
+                         apr_array_header_t *prop_diffs,
                          apr_pool_t *pool)
 {
   struct file_rev_handler_wrapper_baton *fwb = baton;

Modified: subversion/trunk/subversion/libsvn_ra/wrapper_template.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra/wrapper_template.h?rev=926657&r1=926656&r2=926657&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra/wrapper_template.h (original)
+++ subversion/trunk/subversion/libsvn_ra/wrapper_template.h Tue Mar 23 16:46:36 2010
@@ -407,7 +407,7 @@ static svn_error_t *compat_get_locations
                                          apr_hash_t **locations,
                                          const char *path,
                                          svn_revnum_t peg_revision,
-                                         const apr_array_header_t *location_revs,
+                                         apr_array_header_t *location_revs,
                                          apr_pool_t *pool)
 {
   return VTBL.get_locations(session_baton, locations, path, peg_revision,

Modified: subversion/trunk/subversion/mod_dav_svn/reports/file-revs.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/mod_dav_svn/reports/file-revs.c?rev=926657&r1=926656&r2=926657&view=diff
==============================================================================
--- subversion/trunk/subversion/mod_dav_svn/reports/file-revs.c (original)
+++ subversion/trunk/subversion/mod_dav_svn/reports/file-revs.c Tue Mar 23 16:46:36 2010
@@ -139,7 +139,7 @@ file_rev_handler(void *baton,
                  svn_boolean_t merged_revision,
                  svn_txdelta_window_handler_t *window_handler,
                  void **window_baton,
-                 const apr_array_header_t *props,
+                 apr_array_header_t *props,
                  apr_pool_t *pool)
 {
   struct file_rev_baton *frb = baton;

Modified: subversion/trunk/subversion/svnserve/serve.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnserve/serve.c?rev=926657&r1=926656&r2=926657&view=diff
==============================================================================
--- subversion/trunk/subversion/svnserve/serve.c (original)
+++ subversion/trunk/subversion/svnserve/serve.c Tue Mar 23 16:46:36 2010
@@ -693,7 +693,7 @@ static svn_error_t *must_have_access(svn
  */
 
 static svn_error_t *set_path(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                             const apr_array_header_t *params, void *baton)
+                             apr_array_header_t *params, void *baton)
 {
   report_driver_baton_t *b = baton;
   const char *path, *lock_token, *depth_word;
@@ -720,7 +720,7 @@ static svn_error_t *set_path(svn_ra_svn_
 }
 
 static svn_error_t *delete_path(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                                const apr_array_header_t *params, void *baton)
+                                apr_array_header_t *params, void *baton)
 {
   report_driver_baton_t *b = baton;
   const char *path;
@@ -733,7 +733,7 @@ static svn_error_t *delete_path(svn_ra_s
 }
 
 static svn_error_t *link_path(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                              const apr_array_header_t *params, void *baton)
+                              apr_array_header_t *params, void *baton)
 {
   report_driver_baton_t *b = baton;
   const char *path, *url, *lock_token, *fs_path, *depth_word;
@@ -760,7 +760,7 @@ static svn_error_t *link_path(svn_ra_svn
 }
 
 static svn_error_t *finish_report(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                                  const apr_array_header_t *params, void *baton)
+                                  apr_array_header_t *params, void *baton)
 {
   report_driver_baton_t *b = baton;
 
@@ -772,7 +772,7 @@ static svn_error_t *finish_report(svn_ra
 }
 
 static svn_error_t *abort_report(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                                 const apr_array_header_t *params, void *baton)
+                                 apr_array_header_t *params, void *baton)
 {
   report_driver_baton_t *b = baton;
 
@@ -930,7 +930,7 @@ static svn_error_t *get_props(apr_hash_t
 
 /* Set BATON->FS_PATH for the repository URL found in PARAMS. */
 static svn_error_t *reparent(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                             const apr_array_header_t *params, void *baton)
+                             apr_array_header_t *params, void *baton)
 {
   server_baton_t *b = baton;
   const char *url;
@@ -948,7 +948,7 @@ static svn_error_t *reparent(svn_ra_svn_
 }
 
 static svn_error_t *get_latest_rev(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                                   const apr_array_header_t *params, void *baton)
+                                   apr_array_header_t *params, void *baton)
 {
   server_baton_t *b = baton;
   svn_revnum_t rev;
@@ -962,7 +962,7 @@ static svn_error_t *get_latest_rev(svn_r
 }
 
 static svn_error_t *get_dated_rev(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                                  const apr_array_header_t *params, void *baton)
+                                  apr_array_header_t *params, void *baton)
 {
   server_baton_t *b = baton;
   svn_revnum_t rev;
@@ -980,7 +980,7 @@ static svn_error_t *get_dated_rev(svn_ra
 }
 
 static svn_error_t *change_rev_prop(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                                    const apr_array_header_t *params, void *baton)
+                                    apr_array_header_t *params, void *baton)
 {
   server_baton_t *b = baton;
   svn_revnum_t rev;
@@ -1003,7 +1003,7 @@ static svn_error_t *change_rev_prop(svn_
 }
 
 static svn_error_t *rev_proplist(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                                 const apr_array_header_t *params, void *baton)
+                                 apr_array_header_t *params, void *baton)
 {
   server_baton_t *b = baton;
   svn_revnum_t rev;
@@ -1023,7 +1023,7 @@ static svn_error_t *rev_proplist(svn_ra_
 }
 
 static svn_error_t *rev_prop(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                             const apr_array_header_t *params, void *baton)
+                             apr_array_header_t *params, void *baton)
 {
   server_baton_t *b = baton;
   svn_revnum_t rev;
@@ -1159,7 +1159,7 @@ static svn_error_t *unlock_paths(const a
 }
 
 static svn_error_t *commit(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                           const apr_array_header_t *params, void *baton)
+                           apr_array_header_t *params, void *baton)
 {
   server_baton_t *b = baton;
   const char *log_msg = NULL,
@@ -1263,7 +1263,7 @@ static svn_error_t *commit(svn_ra_svn_co
 }
 
 static svn_error_t *get_file(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                             const apr_array_header_t *params, void *baton)
+                             apr_array_header_t *params, void *baton)
 {
   server_baton_t *b = baton;
   const char *path, *full_path, *hex_digest;
@@ -1348,7 +1348,7 @@ static svn_error_t *get_file(svn_ra_svn_
 }
 
 static svn_error_t *get_dir(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                            const apr_array_header_t *params, void *baton)
+                            apr_array_header_t *params, void *baton)
 {
   server_baton_t *b = baton;
   const char *path, *full_path, *file_path, *cauthor, *cdate;
@@ -1512,7 +1512,7 @@ static svn_error_t *get_dir(svn_ra_svn_c
 }
 
 static svn_error_t *update(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                           const apr_array_header_t *params, void *baton)
+                           apr_array_header_t *params, void *baton)
 {
   server_baton_t *b = baton;
   svn_revnum_t rev;
@@ -1565,7 +1565,7 @@ static svn_error_t *update(svn_ra_svn_co
 }
 
 static svn_error_t *switch_cmd(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                               const apr_array_header_t *params, void *baton)
+                               apr_array_header_t *params, void *baton)
 {
   server_baton_t *b = baton;
   svn_revnum_t rev;
@@ -1610,7 +1610,7 @@ static svn_error_t *switch_cmd(svn_ra_sv
 }
 
 static svn_error_t *status(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                           const apr_array_header_t *params, void *baton)
+                           apr_array_header_t *params, void *baton)
 {
   server_baton_t *b = baton;
   svn_revnum_t rev;
@@ -1645,7 +1645,7 @@ static svn_error_t *status(svn_ra_svn_co
 }
 
 static svn_error_t *diff(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                         const apr_array_header_t *params, void *baton)
+                         apr_array_header_t *params, void *baton)
 {
   server_baton_t *b = baton;
   svn_revnum_t rev;
@@ -1709,7 +1709,7 @@ static svn_error_t *diff(svn_ra_svn_conn
    ASSUMPTION: When performing a 'merge' with two URLs at different
    revisions, the client will call this command more than once. */
 static svn_error_t *get_mergeinfo(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                                  const apr_array_header_t *params, void *baton)
+                                  apr_array_header_t *params, void *baton)
 {
   server_baton_t *b = baton;
   svn_revnum_t rev;
@@ -1848,7 +1848,7 @@ static svn_error_t *log_receiver(void *b
 }
 
 static svn_error_t *log_cmd(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                            const apr_array_header_t *params, void *baton)
+                            apr_array_header_t *params, void *baton)
 {
   svn_error_t *err, *write_err;
   server_baton_t *b = baton;
@@ -1949,7 +1949,7 @@ static svn_error_t *log_cmd(svn_ra_svn_c
 }
 
 static svn_error_t *check_path(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                               const apr_array_header_t *params, void *baton)
+                               apr_array_header_t *params, void *baton)
 {
   server_baton_t *b = baton;
   svn_revnum_t rev;
@@ -1979,7 +1979,7 @@ static svn_error_t *check_path(svn_ra_sv
 }
 
 static svn_error_t *stat_cmd(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                             const apr_array_header_t *params, void *baton)
+                             apr_array_header_t *params, void *baton)
 {
   server_baton_t *b = baton;
   svn_revnum_t rev;
@@ -2026,7 +2026,7 @@ static svn_error_t *stat_cmd(svn_ra_svn_
 }
 
 static svn_error_t *get_locations(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                                  const apr_array_header_t *params, void *baton)
+                                  apr_array_header_t *params, void *baton)
 {
   svn_error_t *err, *write_err;
   server_baton_t *b = baton;
@@ -2119,7 +2119,7 @@ static svn_error_t *gls_receiver(svn_loc
 
 static svn_error_t *get_location_segments(svn_ra_svn_conn_t *conn,
                                           apr_pool_t *pool,
-                                          const apr_array_header_t *params,
+                                          apr_array_header_t *params,
                                           void *baton)
 {
   svn_error_t *err, *write_err;
@@ -2209,7 +2209,7 @@ static svn_error_t *file_rev_handler(voi
                                      svn_boolean_t merged_revision,
                                      svn_txdelta_window_handler_t *d_handler,
                                      void **d_baton,
-                                     const apr_array_header_t *prop_diffs,
+                                     apr_array_header_t *prop_diffs,
                                      apr_pool_t *pool)
 {
   file_revs_baton_t *frb = baton;
@@ -2244,7 +2244,7 @@ static svn_error_t *file_rev_handler(voi
 }
 
 static svn_error_t *get_file_revs(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                                  const apr_array_header_t *params, void *baton)
+                                  apr_array_header_t *params, void *baton)
 {
   server_baton_t *b = baton;
   svn_error_t *err, *write_err;
@@ -2293,7 +2293,7 @@ static svn_error_t *get_file_revs(svn_ra
 }
 
 static svn_error_t *lock(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                         const apr_array_header_t *params, void *baton)
+                         apr_array_header_t *params, void *baton)
 {
   server_baton_t *b = baton;
   const char *path;
@@ -2325,7 +2325,7 @@ static svn_error_t *lock(svn_ra_svn_conn
 }
 
 static svn_error_t *lock_many(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                              const apr_array_header_t *params, void *baton)
+                              apr_array_header_t *params, void *baton)
 {
   server_baton_t *b = baton;
   apr_array_header_t *path_revs;
@@ -2424,7 +2424,7 @@ static svn_error_t *lock_many(svn_ra_svn
 }
 
 static svn_error_t *unlock(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                           const apr_array_header_t *params, void *baton)
+                           apr_array_header_t *params, void *baton)
 {
   server_baton_t *b = baton;
   const char *path, *token, *full_path;
@@ -2451,7 +2451,7 @@ static svn_error_t *unlock(svn_ra_svn_co
 }
 
 static svn_error_t *unlock_many(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                                const apr_array_header_t *params, void *baton)
+                                apr_array_header_t *params, void *baton)
 {
   server_baton_t *b = baton;
   svn_boolean_t break_lock;
@@ -2538,7 +2538,7 @@ static svn_error_t *unlock_many(svn_ra_s
 }
 
 static svn_error_t *get_lock(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                             const apr_array_header_t *params, void *baton)
+                             apr_array_header_t *params, void *baton)
 {
   server_baton_t *b = baton;
   const char *path;
@@ -2567,7 +2567,7 @@ static svn_error_t *get_lock(svn_ra_svn_
 }
 
 static svn_error_t *get_locks(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                              const apr_array_header_t *params, void *baton)
+                              apr_array_header_t *params, void *baton)
 {
   server_baton_t *b = baton;
   const char *path;
@@ -2633,7 +2633,7 @@ static svn_error_t *replay_one_revision(
 }
 
 static svn_error_t *replay(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                           const apr_array_header_t *params, void *baton)
+                           apr_array_header_t *params, void *baton)
 {
   svn_revnum_t rev, low_water_mark;
   svn_boolean_t send_deltas;
@@ -2653,7 +2653,7 @@ static svn_error_t *replay(svn_ra_svn_co
 }
 
 static svn_error_t *replay_range(svn_ra_svn_conn_t *conn, apr_pool_t *pool,
-                                 const apr_array_header_t *params, void *baton)
+                                 apr_array_header_t *params, void *baton)
 {
   svn_revnum_t start_rev, end_rev, rev, low_water_mark;
   svn_boolean_t send_deltas;
@@ -2695,7 +2695,7 @@ static svn_error_t *replay_range(svn_ra_
 static svn_error_t *
 get_deleted_rev(svn_ra_svn_conn_t *conn,
                 apr_pool_t *pool,
-                const apr_array_header_t *params,
+                apr_array_header_t *params,
                 void *baton)
 {
   server_baton_t *b = baton;

Modified: subversion/trunk/subversion/tests/libsvn_repos/repos-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_repos/repos-test.c?rev=926657&r1=926656&r2=926657&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_repos/repos-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_repos/repos-test.c Tue Mar 23 16:46:36 2010
@@ -2353,7 +2353,7 @@ static svn_error_t *
 file_rev_handler(void *baton, const char *path, svn_revnum_t rev,
                  apr_hash_t *rev_props, svn_boolean_t result_of_merge,
                  svn_txdelta_window_handler_t *delta_handler,
-                 void **delta_baton, const apr_array_header_t *prop_diffs,
+                 void **delta_baton, apr_array_header_t *prop_diffs,
                  apr_pool_t *pool)
 {
   apr_hash_t *ht = baton;



Mime
View raw message