Return-Path: X-Original-To: apmail-subversion-commits-archive@minotaur.apache.org Delivered-To: apmail-subversion-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EF5D469B2 for ; Tue, 28 Jun 2011 17:21:29 +0000 (UTC) Received: (qmail 20798 invoked by uid 500); 28 Jun 2011 17:21:29 -0000 Delivered-To: apmail-subversion-commits-archive@subversion.apache.org Received: (qmail 20747 invoked by uid 500); 28 Jun 2011 17:21:29 -0000 Mailing-List: contact commits-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@subversion.apache.org Delivered-To: mailing list commits@subversion.apache.org Received: (qmail 20740 invoked by uid 99); 28 Jun 2011 17:21:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jun 2011 17:21:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jun 2011 17:21:28 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id E0C1D23888CE for ; Tue, 28 Jun 2011 17:21:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1140735 - /subversion/trunk/subversion/libsvn_wc/upgrade.c Date: Tue, 28 Jun 2011 17:21:07 -0000 To: commits@subversion.apache.org From: gstein@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110628172107.E0C1D23888CE@eris.apache.org> 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;