mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
mod_proxy: Follow up to r1912245: ap_proxy_ prefix for extern functions.
Even if they are not part of the API (not in mod_proxy.h) hence requires no MMN bump, {get,set,increment_,decrement_}busy_count() being AP_PROXY_DECLARE()d could name-collide with a third-party module's functions. Rename them using the ap_proxy_ prefix, with an underscore after the verb for for all of them too (for consistency), that is: ap_proxy_{get,set,increment,decrement}_busy_count() git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1913930 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -5392,7 +5392,7 @@ PROXY_DECLARE(apr_status_t) ap_proxy_tunnel_create(proxy_tunnel_rec **ptunnel,
|
||||
return APR_SUCCESS;
|
||||
}
|
||||
|
||||
PROXY_DECLARE(apr_status_t) decrement_busy_count(void *worker_)
|
||||
PROXY_DECLARE(apr_status_t) ap_proxy_decrement_busy_count(void *worker_)
|
||||
{
|
||||
apr_size_t val;
|
||||
proxy_worker *worker = worker_;
|
||||
@@ -5435,7 +5435,7 @@ PROXY_DECLARE(apr_status_t) decrement_busy_count(void *worker_)
|
||||
return APR_SUCCESS;
|
||||
}
|
||||
|
||||
PROXY_DECLARE(void) increment_busy_count(proxy_worker *worker)
|
||||
PROXY_DECLARE(void) ap_proxy_increment_busy_count(proxy_worker *worker)
|
||||
{
|
||||
apr_size_t val;
|
||||
#if APR_SIZEOF_VOIDP == 4
|
||||
@@ -5475,7 +5475,7 @@ PROXY_DECLARE(void) increment_busy_count(proxy_worker *worker)
|
||||
#endif
|
||||
}
|
||||
|
||||
PROXY_DECLARE(apr_size_t) getbusy_count(proxy_worker *worker)
|
||||
PROXY_DECLARE(apr_size_t) ap_proxy_get_busy_count(proxy_worker *worker)
|
||||
{
|
||||
apr_size_t val;
|
||||
#if APR_SIZEOF_VOIDP == 4
|
||||
@@ -5494,7 +5494,7 @@ PROXY_DECLARE(apr_size_t) getbusy_count(proxy_worker *worker)
|
||||
return val;
|
||||
}
|
||||
|
||||
PROXY_DECLARE(void) setbusy_count(proxy_worker *worker, apr_size_t to)
|
||||
PROXY_DECLARE(void) ap_proxy_set_busy_count(proxy_worker *worker, apr_size_t to)
|
||||
{
|
||||
#if APR_SIZEOF_VOIDP == 4
|
||||
AP_DEBUG_ASSERT(sizeof(apr_size_t) == sizeof(apr_uint32_t));
|
||||
|
Reference in New Issue
Block a user