[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] function rename as per conversion(round 4)

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: 2006-09-14 13:50:18 CEST

Hi All,
One more static function with a 'svn_' prefix.

Find the attached patch.

With regards
Kamesh Jayachandran

[[[
Patch by: Kamesh Jayachandran <kamesh@collab.net>

Don't use intralibrary prefix for a static function

* subversion/libsvn_client/util.c
  (string_hash_dup): Rename from svn_client__string_hash_dup.
  (svn_client_proplist_item_dup): Adjust for above rename.

]]]

Index: subversion/libsvn_client/util.c
===================================================================
--- subversion/libsvn_client/util.c (revision 21477)
+++ subversion/libsvn_client/util.c (working copy)
@@ -28,7 +28,7 @@
  * pairs using POOL.
  */
 static apr_hash_t *
-svn_client__string_hash_dup(apr_hash_t *hash, apr_pool_t *pool)
+string_hash_dup(apr_hash_t *hash, apr_pool_t *pool)
 {
   apr_hash_index_t *hi;
   const void *key;
@@ -80,7 +80,7 @@
     new_item->node_name = svn_stringbuf_dup(item->node_name, pool);
 
   if (item->prop_hash)
- new_item->prop_hash = svn_client__string_hash_dup(item->prop_hash, pool);
+ new_item->prop_hash = string_hash_dup(item->prop_hash, pool);
 
   return new_item;
 }

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 14 13:50:07 2006

This is an archived mail posted to the Subversion Dev mailing list.