Re-org shared lib header files, remove unused info (#136)
And fix compile issues of vxworks
This commit is contained in:
@ -20,7 +20,7 @@
|
||||
#include "bh_platform.h"
|
||||
#include "bh_common.h"
|
||||
#include "bh_queue.h"
|
||||
#include "korp_types.h"
|
||||
#include "bh_types.h"
|
||||
#include "app_manager_export.h"
|
||||
#include "native_interface.h"
|
||||
#include "shared_utils.h"
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
#include "bh_common.h"
|
||||
#include "korp_types.h"
|
||||
#include "bh_types.h"
|
||||
#include "app_manager_host.h"
|
||||
#include "app_manager.h"
|
||||
#include "app_manager_export.h"
|
||||
|
||||
@ -52,8 +52,8 @@ bool watchdog_timer_init(module_data *m_data)
|
||||
#ifdef WATCHDOG_ENABLED /* TODO */
|
||||
watchdog_timer *wd_timer = &m_data->wd_timer;
|
||||
|
||||
if (BH_SUCCESS != vm_mutex_init(&wd_timer->lock))
|
||||
return false;
|
||||
if (0 != vm_mutex_init(&wd_timer->lock))
|
||||
return false;
|
||||
|
||||
if (!(wd_timer->timer_handle =
|
||||
app_manager_timer_create(watchdog_timer_callback, wd_timer))) {
|
||||
|
||||
Reference in New Issue
Block a user