summaryrefslogtreecommitdiff
path: root/pjlib/src/pj
diff options
context:
space:
mode:
Diffstat (limited to 'pjlib/src/pj')
-rw-r--r--pjlib/src/pj/os_core_unix.c2
-rw-r--r--pjlib/src/pj/os_core_win32.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/pjlib/src/pj/os_core_unix.c b/pjlib/src/pj/os_core_unix.c
index 03aa8f86..c7ea2594 100644
--- a/pjlib/src/pj/os_core_unix.c
+++ b/pjlib/src/pj/os_core_unix.c
@@ -182,7 +182,7 @@ PJ_DEF(pj_uint32_t) pj_getpid(void)
/*
* Check if this thread has been registered to PJLIB.
*/
-PJ_DEF(pj_status_t) pj_thread_is_registered(void)
+PJ_DEF(pj_bool_t) pj_thread_is_registered(void)
{
return pj_thread_local_get(thread_tls_id) != 0;
}
diff --git a/pjlib/src/pj/os_core_win32.c b/pjlib/src/pj/os_core_win32.c
index 8ab04add..27091cc6 100644
--- a/pjlib/src/pj/os_core_win32.c
+++ b/pjlib/src/pj/os_core_win32.c
@@ -188,7 +188,7 @@ PJ_DEF(pj_uint32_t) pj_getpid(void)
/*
* Check if this thread has been registered to PJLIB.
*/
-PJ_DEF(pj_status_t) pj_thread_is_registered(void)
+PJ_DEF(pj_bool_t) pj_thread_is_registered(void)
{
return pj_thread_local_get(thread_tls_id) != 0;
}