]> granicus.if.org Git - apache/commitdiff
Fix cut'n'paste errors: APR_DECLARE -> AP_DECLARE / part2.
authorGuenter Knauf <fuankg@apache.org>
Fri, 16 Sep 2011 23:20:01 +0000 (23:20 +0000)
committerGuenter Knauf <fuankg@apache.org>
Fri, 16 Sep 2011 23:20:01 +0000 (23:20 +0000)
Submitted by: NormW <normw gknw.net>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1171850 13f79535-47bb-0310-9956-ffa450edef68

server/core.c

index 418db70a954c2dafde469c6b4fc17cbbd8cc5d7a..6ca2033c1e910c1bae6b73d299cc8e19585e1c26 100644 (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) {