You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2010/08/30 12:38:47 UTC
svn commit: r990759 -
/subversion/branches/performance/subversion/libsvn_subr/cache-membuffer.c
Author: stefan2
Date: Mon Aug 30 10:38:47 2010
New Revision: 990759
URL: http://svn.apache.org/viewvc?rev=990759&view=rev
Log:
Non-API functions should be local / static. There was one in
the membuffer code that violated this principle.
* subversion/libsvn_subr/cache-membuffer.c
(membuffer_cache_get_partial): make this a static function
Found by: Lieven Govaerts <svnlgo_at_mobsol.be>
Modified:
subversion/branches/performance/subversion/libsvn_subr/cache-membuffer.c
Modified: subversion/branches/performance/subversion/libsvn_subr/cache-membuffer.c
URL: http://svn.apache.org/viewvc/subversion/branches/performance/subversion/libsvn_subr/cache-membuffer.c?rev=990759&r1=990758&r2=990759&view=diff
==============================================================================
--- subversion/branches/performance/subversion/libsvn_subr/cache-membuffer.c (original)
+++ subversion/branches/performance/subversion/libsvn_subr/cache-membuffer.c Mon Aug 30 10:38:47 2010
@@ -927,7 +927,7 @@ membuffer_cache_get(svn_membuffer_t *cac
return deserializer(item, buffer, entry->size, pool);
}
-svn_error_t*
+static svn_error_t *
membuffer_cache_get_partial(svn_membuffer_t *cache,
const void *key,
apr_size_t key_len,