]> granicus.if.org Git - apache/commitdiff
mpm_event(opt): zero is immutable.
authorYann Ylavic <ylavic@apache.org>
Fri, 5 Dec 2014 14:00:37 +0000 (14:00 +0000)
committerYann Ylavic <ylavic@apache.org>
Fri, 5 Dec 2014 14:00:37 +0000 (14:00 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1643284 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/event/fdqueue.c
server/mpm/eventopt/fdqueue.c

index b9769f22e922e29dcb47ec1f313229c777952925..aad847038d01de6eb10199e4c09ef1ce164db681 100644 (file)
@@ -17,7 +17,7 @@
 #include "fdqueue.h"
 #include "apr_atomic.h"
 
-static apr_uint32_t zero_pt = APR_UINT32_MAX/2;
+static const apr_uint32_t zero_pt = APR_UINT32_MAX/2;
 
 struct recycled_pool
 {
index 23f4523c39ee1b5b6978f66e814c5ede0ac7e24a..1a338adf948201a7ffdeeda0c968fde1f74b1b4e 100644 (file)
@@ -17,7 +17,7 @@
 #include "fdqueue.h"
 #include "apr_atomic.h"
 
-static apr_uint32_t zero_pt = APR_UINT32_MAX/2;
+static const apr_uint32_t zero_pt = APR_UINT32_MAX/2;
 
 typedef struct recycled_pool
 {