Submitted by: NormW <normw gknw.net>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1171850 13f79535-47bb-0310-9956-
ffa450edef68
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)
*/
#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) {