Lieven Govaerts <svnlgo_at_mobsol.be <mailto:svnlgo_at_mobsol.be?Subject=Re:%20svn%20commit:%20r986605%20-%20in%20/subversion/branches/performance/subversion:%20include/private/svn_cache.h%20libsvn_subr/cache-inprocess.c%20libsvn_subr/cache-membuffer.c%20libsvn_subr/cache-memcache.c%20libsvn_subr/cache.c%20libsvn_subr/cache.h>> wrote:

On Wed, Aug 18, 2010 at 11:21 AM, <stefan2_at_apache.org> wrote:
/> Author: stefan2 /
/> Date: Wed Aug 18 09:21:18 2010 /
/> New Revision: 986605 /
/> /
/> URL: http://svn.apache.org/viewvc?rev=986605&view=rev <http://svn.apache.org/viewvc?rev=986605&view=rev> /
/> Log: /
/> Extend cache API with a function that effectively allows partial de- /
/> serialization as an alternative to the mandatory full de-serialization /
/> in svn_cache__get. This can be used to read a single element from /
/> a cached container, for instance. /
//[..]

/> +svn_error_t* /
/> +membuffer_cache_get_partial(svn_membuffer_t *cache, /
/> +                            const void *key, /
/> +                            apr_size_t key_len, /
/> +                            void **item, /
/> + svn_cache__partial_getter_func_t deserializer, /
/> +                            void *baton, /
/> +                            apr_pool_t *pool) /
/> +{ /

This function should probably be static? Results in a gcc warning now.
Fixed in r990759. But I kind of begin to wonder what gcc
configuration you use to get all these extra warnings?

-- Stefan^2.

Reply via email to