Author: gstein
Date: Wed Jul 13 21:43:48 2011
New Revision: 1146492
URL: http://svn.apache.org/viewvc?rev=1146492&view=rev
Log:
The public API should keep the underlying structures const to disallow
changing "via" the const svn_client_info2_t.
* include/svn_client.h:
(svn_client_info2_t): constify the LOCK and WC_INFO members
Modified:
subversion/trunk/subversion/include/svn_client.h
Modified: subversion/trunk/subversion/include/svn_client.h
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_client.h?rev=1146492&r1=1146491&r2=1146492&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_client.h (original)
+++ subversion/trunk/subversion/include/svn_client.h Wed Jul 13 21:43:48 2011
@@ -5388,10 +5388,10 @@ typedef struct svn_client_info2_t
const char *last_changed_author;
/** An exclusive lock, if present. Could be either local or remote. */
- svn_lock_t *lock;
+ const svn_lock_t *lock;
/* Possible information about the working copy, NULL if not valid. */
- struct svn_wc_info_t *wc_info;
+ const struct svn_wc_info_t *wc_info;
} svn_client_info2_t;