subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1719650 - in /subversion/trunk/subversion/libsvn_fs_x: low_level.c low_level.h
Date Sat, 12 Dec 2015 10:58:37 GMT
Author: stefan2
Date: Sat Dec 12 10:58:37 2015
New Revision: 1719650

URL: http://svn.apache.org/viewvc?rev=1719650&view=rev
Log:
Minor internal API adjustment.

* subversion/libsvn_fs_x/low_level.h
  (svn_fs_x__parse_properties): A 'const' string will do just fine.

* subversion/libsvn_fs_x/low_level.c
  (svn_fs_x__parse_properties): Sync signature with declaration.

Modified:
    subversion/trunk/subversion/libsvn_fs_x/low_level.c
    subversion/trunk/subversion/libsvn_fs_x/low_level.h

Modified: subversion/trunk/subversion/libsvn_fs_x/low_level.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_x/low_level.c?rev=1719650&r1=1719649&r2=1719650&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_x/low_level.c (original)
+++ subversion/trunk/subversion/libsvn_fs_x/low_level.c Sat Dec 12 10:58:37 2015
@@ -1148,7 +1148,7 @@ svn_fs_x__write_changes(svn_stream_t *st
 
 svn_error_t *
 svn_fs_x__parse_properties(apr_hash_t **properties,
-                           svn_string_t *content,
+                           const svn_string_t *content,
                            apr_pool_t *result_pool)
 {
   const apr_byte_t *p = (const apr_byte_t *)content->data;

Modified: subversion/trunk/subversion/libsvn_fs_x/low_level.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_x/low_level.h?rev=1719650&r1=1719649&r2=1719650&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_x/low_level.h (original)
+++ subversion/trunk/subversion/libsvn_fs_x/low_level.h Sat Dec 12 10:58:37 2015
@@ -216,7 +216,7 @@ svn_fs_x__write_changes(svn_stream_t *st
  */
 svn_error_t *
 svn_fs_x__parse_properties(apr_hash_t **properties,
-                           svn_string_t *content,
+                           const svn_string_t *content,
                            apr_pool_t *result_pool);
 
 /* Write the property list PROPLIST to STREAM in serialized format.



Mime
View raw message