summaryrefslogtreecommitdiff
path: root/threadproc/os2/thread.c
diff options
context:
space:
mode:
authorjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2019-07-03 06:55:51 +0000
committerjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2019-07-03 06:55:51 +0000
commit3f3f3a88f222e096f34e750a99337e1c490b7e34 (patch)
tree882ac41c165898980c8705ad4a69ebc7b6a86864 /threadproc/os2/thread.c
parent6ae440b73cb0efc7be2dd47278294140c67fa59f (diff)
downloadlibapr-3f3f3a88f222e096f34e750a99337e1c490b7e34.tar.gz
API/ABI change, drop return value of apr_thread_exit() which has
no useful (nor documented) semantic: * include/apr_thread_proc.h (apr_thread_exit): Make void function; mark with gcc noreturn attribute. * threadproc/*/thread.c (apr_thread_exit): Update accordingly. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1862446 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc/os2/thread.c')
-rw-r--r--threadproc/os2/thread.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/threadproc/os2/thread.c b/threadproc/os2/thread.c
index 9911034ae..8781f932a 100644
--- a/threadproc/os2/thread.c
+++ b/threadproc/os2/thread.c
@@ -131,12 +131,11 @@ APR_DECLARE(apr_os_thread_t) apr_os_thread_current()
-APR_DECLARE(apr_status_t) apr_thread_exit(apr_thread_t *thd, apr_status_t retval)
+APR_DECLARE(void) apr_thread_exit(apr_thread_t *thd, apr_status_t retval)
{
thd->exitval = retval;
apr_pool_destroy(thd->pool);
_endthread();
- return -1; /* If we get here something's wrong */
}