fix build warnings

This commit is contained in:
xianjimli 2018-03-11 16:10:01 +08:00
parent 3fb0ff30b9
commit b98395e864
2 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/**
/**
* File: lftk.c
* Author: Li XianJing <xianjimli@hotmail.com>
* Brief: lftk
@ -44,4 +44,7 @@ static ret_t lftk_quit_idle(const timer_info_t* timer) {
return main_loop_quit(main_loop_get_default());
}
ret_t lftk_quit() { return timer_add(lftk_quit_idle, NULL, 0); }
ret_t lftk_quit() {
timer_add(lftk_quit_idle, NULL, 0);
return RET_OK;
}

View File

@ -1,4 +1,4 @@
/**
/**
* File: widget.c
* Author: Li XianJing <xianjimli@hotmail.com>
* Brief: basic class of all widget
@ -20,6 +20,7 @@
*/
#include "base/mem.h"
#include "base/utf8.h"
#include "base/enums.h"
#include "base/widget.h"
#include "base/widget_vtable.h"