diff options
-rw-r--r-- | pjlib/include/pj/os.h | 2 | ||||
-rw-r--r-- | pjlib/src/pj/os_core_unix.c | 2 | ||||
-rw-r--r-- | pjlib/src/pj/os_core_win32.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/pjlib/include/pj/os.h b/pjlib/include/pj/os.h index 2720e7f7..98a94c37 100644 --- a/pjlib/include/pj/os.h +++ b/pjlib/include/pj/os.h @@ -134,7 +134,7 @@ PJ_DECL(pj_status_t) pj_thread_register ( const char *thread_name, * * @return Non-zero if it is registered. */ -PJ_DECL(pj_status_t) pj_thread_is_registered(void); +PJ_DECL(pj_bool_t) pj_thread_is_registered(void); /** 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; } |