Commit 43fcc3a4 authored by Guenter Knauf's avatar Guenter Knauf
Browse files

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
parent f42ed180
Loading
Loading
Loading
Loading
+2 −2
Changes for server/core.c: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -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) {