summaryrefslogtreecommitdiffstats
path: root/threadproc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-12 04:59:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-12 04:59:58 +0000
commitb8d375bcb1f462d5af5d1f480b32d7b0038417f6 (patch)
tree93d48ade79cc9d5892f17ff41c33753be6bb0879 /threadproc
parentAdding upstream version 1.7.2. (diff)
downloadapr-upstream.tar.xz
apr-upstream.zip
Adding upstream version 1.7.5.upstream/1.7.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'threadproc')
-rw-r--r--threadproc/os2/thread.c2
-rw-r--r--threadproc/win32/thread.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/threadproc/os2/thread.c b/threadproc/os2/thread.c
index 00ec4eb..55d334e 100644
--- a/threadproc/os2/thread.c
+++ b/threadproc/os2/thread.c
@@ -119,7 +119,7 @@ APR_DECLARE(apr_status_t) apr_thread_create(apr_thread_t **new, apr_threadattr_t
-APR_DECLARE(apr_os_thread_t) apr_os_thread_current()
+APR_DECLARE(apr_os_thread_t) apr_os_thread_current(void)
{
PIB *ppib;
TIB *ptib;
diff --git a/threadproc/win32/thread.c b/threadproc/win32/thread.c
index 2503457..1844335 100644
--- a/threadproc/win32/thread.c
+++ b/threadproc/win32/thread.c
@@ -179,7 +179,7 @@ APR_DECLARE(apr_status_t) apr_thread_detach(apr_thread_t *thd)
}
}
-APR_DECLARE(void) apr_thread_yield()
+APR_DECLARE(void) apr_thread_yield(void)
{
/* SwitchToThread is not supported on Win9x, but since it's
* primarily a noop (entering time consuming code, therefore