You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by yl...@apache.org on 2018/04/04 17:15:27 UTC
svn commit: r1828367 - in /apr/apr/trunk: include/apr_reslist.h
util-misc/apr_reslist.c
Author: ylavic
Date: Wed Apr 4 17:15:27 2018
New Revision: 1828367
URL: http://svn.apache.org/viewvc?rev=1828367&view=rev
Log:
reslist: follow up to r1828289: name fifo arg according to doxygen.
Modified:
apr/apr/trunk/include/apr_reslist.h
apr/apr/trunk/util-misc/apr_reslist.c
Modified: apr/apr/trunk/include/apr_reslist.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_reslist.h?rev=1828367&r1=1828366&r2=1828367&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_reslist.h (original)
+++ apr/apr/trunk/include/apr_reslist.h Wed Apr 4 17:15:27 2018
@@ -140,7 +140,7 @@ APR_DECLARE(void) apr_reslist_timeout_se
* @param reslist The resource list.
* @param fifo Set as FIFO (non zero) or LIFO (zero).
*/
-APR_DECLARE(void) apr_reslist_fifo_set(apr_reslist_t *reslist, int to);
+APR_DECLARE(void) apr_reslist_fifo_set(apr_reslist_t *reslist, int fifo);
/**
* Return the number of outstanding resources.
Modified: apr/apr/trunk/util-misc/apr_reslist.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/util-misc/apr_reslist.c?rev=1828367&r1=1828366&r2=1828367&view=diff
==============================================================================
--- apr/apr/trunk/util-misc/apr_reslist.c (original)
+++ apr/apr/trunk/util-misc/apr_reslist.c Wed Apr 4 17:15:27 2018
@@ -440,9 +440,9 @@ APR_DECLARE(void) apr_reslist_timeout_se
reslist->timeout = timeout;
}
-APR_DECLARE(void) apr_reslist_fifo_set(apr_reslist_t *reslist, int to)
+APR_DECLARE(void) apr_reslist_fifo_set(apr_reslist_t *reslist, int fifo)
{
- reslist->fifo = to;
+ reslist->fifo = fifo;
}
APR_DECLARE(apr_uint32_t) apr_reslist_acquired_count(apr_reslist_t *reslist)