1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00

Fix cut'n'paste errors: APR_DECLARE -> AP_DECLARE / part2.

Submitted by: NormW <normw gknw.net>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1171850 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Guenter Knauf
2011-09-16 23:20:01 +00:00
parent ef947618a6
commit 026b641a70

View File

@@ -4628,7 +4628,7 @@ error:
exit(1);
}
APR_DECLARE(void) ap_random_insecure_bytes(void *buf, apr_size_t size)
AP_DECLARE(void) ap_random_insecure_bytes(void *buf, apr_size_t size)
{
#if APR_HAS_THREADS
if (rng_mutex)
@@ -4658,7 +4658,7 @@ APR_DECLARE(void) ap_random_insecure_bytes(void *buf, apr_size_t size)
*/
#define RAND_RANGE(__n, __min, __max, __tmax) \
(__n) = (__min) + (long) ((double) ((__max) - (__min) + 1.0) * ((__n) / ((__tmax) + 1.0)))
APR_DECLARE(apr_uint32_t) ap_random_pick(apr_uint32_t min, apr_uint32_t max)
AP_DECLARE(apr_uint32_t) ap_random_pick(apr_uint32_t min, apr_uint32_t max)
{
apr_uint32_t number;
if (max < 16384) {