diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-10-03 17:00:00 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-10-03 17:00:00 +0000 |
commit | 94e10f945499dd393ddacf8375af393335853f1a (patch) | |
tree | f4f905e94ed7fdd2ccf1a46fce31d3c3406dd3a5 /pjlib/src/pj/os_core_unix.c | |
parent | f21319f288dfd1703311e09b38a21bd552c2b088 (diff) |
Fixed minor error in pj_thread_is_registered() API. The return value should be pj_bool_t instead of pj_status_t. (Note: this change should not break anything).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@746 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/src/pj/os_core_unix.c')
-rw-r--r-- | pjlib/src/pj/os_core_unix.c | 2 |
1 files changed, 1 insertions, 1 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; } |