summaryrefslogtreecommitdiff
path: root/poll
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2023-01-11 09:42:18 +0000
committerJoe Orton <jorton@apache.org>2023-01-11 09:42:18 +0000
commitd5c2a64628c4a8731d69c92d816f39be0ab5f71a (patch)
tree03996caf5f70dbf2bb083fa0ff8cc67785be45a4 /poll
parent2729a1d6885c03b07360936d0958bb75a735f093 (diff)
downloadapr-d5c2a64628c4a8731d69c92d816f39be0ab5f71a.tar.gz
Fix further strict C99 compliance issue. (fixes #37)
PR: 66408 Submitted by: Sam James <sam gentoo.org> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1906594 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poll')
-rw-r--r--poll/os2/pollset.c2
-rw-r--r--poll/unix/pollset.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/poll/os2/pollset.c b/poll/os2/pollset.c
index 8c7a4b130..ba63a8cc3 100644
--- a/poll/os2/pollset.c
+++ b/poll/os2/pollset.c
@@ -308,7 +308,7 @@ APR_DECLARE(apr_status_t) apr_pollset_wakeup(apr_pollset_t *pollset)
-APR_DECLARE(const char *) apr_poll_method_defname()
+APR_DECLARE(const char *) apr_poll_method_defname(void)
{
return "select";
}
diff --git a/poll/unix/pollset.c b/poll/unix/pollset.c
index 8db5ef0e4..89b038716 100644
--- a/poll/unix/pollset.c
+++ b/poll/unix/pollset.c
@@ -198,7 +198,7 @@ APR_DECLARE(const char *) apr_pollset_method_name(apr_pollset_t *pollset)
return pollset->provider->name;
}
-APR_DECLARE(const char *) apr_poll_method_defname()
+APR_DECLARE(const char *) apr_poll_method_defname(void)
{
const apr_pollset_provider_t *provider = NULL;