summaryrefslogtreecommitdiff
path: root/poll/unix/z_asio.c
diff options
context:
space:
mode:
authorjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2017-08-18 08:40:35 +0000
committerjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2017-08-18 08:40:35 +0000
commit801fe8dcc91918e942ebe20496a42af55845b2df (patch)
tree9e77e63d22bf7068b9e35f20e0287bd8895b561e /poll/unix/z_asio.c
parentf92643f31c5c9bc81f439e74783aae5b7390cdfb (diff)
downloadlibapr-801fe8dcc91918e942ebe20496a42af55845b2df.tar.gz
* include/arch/unix/apr_arch_poll_private.h,
poll/unix/poll/*.c: Constify all apr_pollcb_provider_t and apr_pollset_provider_t structures. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1805380 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poll/unix/z_asio.c')
-rw-r--r--poll/unix/z_asio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/poll/unix/z_asio.c b/poll/unix/z_asio.c
index ae03079fb..48b531cc8 100644
--- a/poll/unix/z_asio.c
+++ b/poll/unix/z_asio.c
@@ -768,7 +768,7 @@ static apr_status_t asio_pollset_poll(apr_pollset_t *pollset,
return rv;
} /* end of asio_pollset_poll */
-static apr_pollset_provider_t impl = {
+static const apr_pollset_provider_t impl = {
asio_pollset_create,
asio_pollset_add,
asio_pollset_remove,
@@ -777,6 +777,6 @@ static apr_pollset_provider_t impl = {
"asio"
};
-apr_pollset_provider_t *apr_pollset_provider_aio_msgq = &impl;
+const apr_pollset_provider_t *apr_pollset_provider_aio_msgq = &impl;
#endif /* HAVE_AIO_MSGQ */