diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2014-02-24 08:49:40 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2014-02-24 08:49:40 +0000 |
commit | 9fbfd6ab5526baa0980fd32cb2406728a0c1e801 (patch) | |
tree | e025da55d4025817d9203b14865a903257dc04d7 /pjlib/include/pj/os.h | |
parent | cf91cac6d9627cdf57633167971532c410ac6baf (diff) |
Misc (re #1630): Fixed missing PJ_DECL on pj_run_app() and bad type casts in WMME audio dev (thanks Louis Solomon for the report).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4760 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/os.h')
-rw-r--r-- | pjlib/include/pj/os.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pjlib/include/pj/os.h b/pjlib/include/pj/os.h index 3ce877af..8cf9bcd9 100644 --- a/pjlib/include/pj/os.h +++ b/pjlib/include/pj/os.h @@ -1439,7 +1439,9 @@ PJ_DECL(pj_uint32_t) pj_elapsed_cycle( const pj_timestamp *start, * @{ */ -/* Type for main function. */ +/** + * Type for application main function. + */ typedef int (*pj_main_func_ptr)(int argc, char *argv[]); /** @@ -1456,8 +1458,8 @@ typedef int (*pj_main_func_ptr)(int argc, char *argv[]); * * @return main_func()'s return value. */ -int pj_run_app(pj_main_func_ptr main_func, int argc, char *argv[], - unsigned flags); +PJ_DECL(int) pj_run_app(pj_main_func_ptr main_func, int argc, char *argv[], + unsigned flags); /** @} */ |