Checkout
Julian Foad
committed
on 12 Mar 10
Add "const" to all "apr_array_header_t *" input parameters in public and
private APIs.

(Note that we are allowed to add "const" to a pointe… Show more
Add "const" to all "apr_array_header_t *" input parameters in public and

private APIs.

(Note that we are allowed to add "const" to a pointer parameter of a public

API, and have done so before, because that is a backward-compatible API

change and doesn't change the ABI at all.)

The public functions whose prototypes are changed are listed individually

below; the private functions are not.

* subversion/include/svn_auth.h

 (svn_auth_open)

* subversion/include/svn_client.h

 (svn_client_get_commit_log_t,

  svn_client_copy5,

  svn_client_copy4,

  svn_client_move5,

  svn_client_patch)

* subversion/include/svn_delta.h

 (svn_delta_path_driver,

  svn_file_rev_handler_t,

  svn_file_rev_handler_old_t)

* subversion/include/svn_fs.h

 (svn_fs_change_txn_props)

* subversion/include/svn_mergeinfo.h

 (svn_rangelist_diff,

  svn_rangelist_merge,

  svn_rangelist_remove,

  svn_rangelist_intersect,

  svn_rangelist_inheritable2,

  svn_rangelist_inheritable,

  svn_rangelist_dup)

* subversion/include/svn_opt.h

 (svn_opt_args_to_target_array3,

  svn_opt_args_to_target_array2,

  svn_opt_args_to_target_array,

  svn_opt_eat_peg_revisions)

* subversion/include/svn_ra.h

 (svn_ra_file_rev_handler_t,

  svn_ra_get_locations,

  svn_ra_plugin_t.get_locations)

* subversion/include/svn_ra_svn.h

 (svn_ra_svn_command_handler,

  svn_ra_svn_set_capabilities,

  svn_ra_svn_parse_tuple,

  svn_ra_svn_parse_proplist)

* subversion/include/svn_repos.h

 (svn_repos_file_rev_handler_t,

  svn_repos_trace_node_locations,

  svn_repos_fs_get_mergeinfo,

  svn_repos_fs_change_txn_props,

  svn_repos_remember_client_capabilities)

* subversion/include/svn_sorts.h

 (svn_sort__bsearch_lower_bound)

* subversion/include/svn_string.h

 (svn_cstring_match_glob_list)

* subversion/include/svn_wc.h

 (svn_wc_get_status_editor3,

  svn_wc_get_update_editor4,

  svn_wc_get_update_editor3,

  svn_wc_get_switch_editor4,

  svn_wc_get_switch_editor3,

  svn_wc_match_ignore_list)

* subversion/include/private/svn_cmdline_private.h

* subversion/include/private/svn_opt_private.h

* subversion/libsvn_client/blame.c

* subversion/libsvn_client/client.h

* subversion/libsvn_client/commit.c

* subversion/libsvn_client/commit_util.c

* subversion/libsvn_client/copy.c

* subversion/libsvn_client/deprecated.c

* subversion/libsvn_client/merge.c

* subversion/libsvn_client/mergeinfo.c

* subversion/libsvn_client/mergeinfo.h

* subversion/libsvn_client/patch.c

* subversion/libsvn_client/ra.c

* subversion/libsvn_delta/compat.c

* subversion/libsvn_delta/path_driver.c

* subversion/libsvn_fs_base/reps-strings.c

* subversion/libsvn_fs_base/revs-txns.c

* subversion/libsvn_fs_base/revs-txns.h

* subversion/libsvn_fs_fs/fs_fs.c

* subversion/libsvn_fs_fs/fs_fs.h

* subversion/libsvn_fs/fs-loader.c

* subversion/libsvn_fs/fs-loader.h

* subversion/libsvn_ra/compat.c

* subversion/libsvn_ra/ra_loader.c

* subversion/libsvn_ra/ra_loader.h

* subversion/libsvn_ra/wrapper_template.h

* subversion/libsvn_ra_local/ra_plugin.c

* subversion/libsvn_ra_neon/get_locations.c

* subversion/libsvn_ra_neon/props.c

* subversion/libsvn_ra_neon/ra_neon.h

* subversion/libsvn_ra_serf/getlocations.c

* subversion/libsvn_ra_serf/ra_serf.h

* subversion/libsvn_ra_svn/client.c

* subversion/libsvn_ra_svn/cyrus_auth.c

* subversion/libsvn_ra_svn/editorp.c

* subversion/libsvn_ra_svn/internal_auth.c

* subversion/libsvn_ra_svn/marshal.c

* subversion/libsvn_ra_svn/ra_svn.h

* subversion/libsvn_repos/fs-wrap.c

* subversion/libsvn_repos/log.c

* subversion/libsvn_repos/repos.c

* subversion/libsvn_repos/repos.h

* subversion/libsvn_repos/rev_hunt.c

* subversion/libsvn_subr/auth.c

* subversion/libsvn_subr/cmdline.c

* subversion/libsvn_subr/deprecated.c

* subversion/libsvn_subr/mergeinfo.c

* subversion/libsvn_subr/opt.c

* subversion/libsvn_subr/sorts.c

* subversion/libsvn_subr/svn_string.c

* subversion/libsvn_wc/adm_ops.c

* subversion/libsvn_wc/deprecated.c

* subversion/libsvn_wc/diff.c

* subversion/libsvn_wc/status.c

* subversion/libsvn_wc/update_editor.c

* subversion/libsvn_wc/util.c

* subversion/mod_dav_svn/dav_svn.h

* subversion/mod_dav_svn/reports/file-revs.c

* subversion/mod_dav_svn/util.c

* subversion/svn/cl.h

* subversion/svn/props.c

* subversion/svn/switch-cmd.c

* subversion/svn/util.c

* subversion/svndumpfilter/main.c

* subversion/svnserve/serve.c

* subversion/tests/libsvn_repos/repos-test.c

* subversion/tests/libsvn_subr/mergeinfo-test.c

Show less