Fixing compiler warnings/errors
This commit is contained in:
parent
1092f7c282
commit
65fb1ca5ee
1 changed files with 15 additions and 12 deletions
|
@ -36,6 +36,18 @@ static color_t defaultBgColor = Black;
|
||||||
static font_t defaultFont;
|
static font_t defaultFont;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* These init functions are defined by each module but not published */
|
||||||
|
extern void _gwmInit(void);
|
||||||
|
extern void _gwmDeinit(void);
|
||||||
|
#if GWIN_NEED_WIDGET
|
||||||
|
extern void _gwidgetInit(void);
|
||||||
|
extern void _gwidgetDeinit(void);
|
||||||
|
#endif
|
||||||
|
#if GWIN_NEED_CONTAINERS
|
||||||
|
extern void _gcontainerInit(void);
|
||||||
|
extern void _gcontainerDeinit(void);
|
||||||
|
#endif
|
||||||
|
|
||||||
/*-----------------------------------------------
|
/*-----------------------------------------------
|
||||||
* Helper Routines
|
* Helper Routines
|
||||||
*-----------------------------------------------*/
|
*-----------------------------------------------*/
|
||||||
|
@ -46,33 +58,24 @@ static color_t defaultBgColor = Black;
|
||||||
|
|
||||||
void _gwinInit(void)
|
void _gwinInit(void)
|
||||||
{
|
{
|
||||||
extern void _gwmInit(void);
|
|
||||||
|
|
||||||
_gwmInit();
|
_gwmInit();
|
||||||
#if GWIN_NEED_WIDGET
|
|
||||||
extern void _gwidgetInit(void);
|
|
||||||
|
|
||||||
|
#if GWIN_NEED_WIDGET
|
||||||
_gwidgetInit();
|
_gwidgetInit();
|
||||||
#endif
|
#endif
|
||||||
#if GWIN_NEED_CONTAINERS
|
|
||||||
extern void _gcontainerInit(void);
|
|
||||||
|
|
||||||
|
#if GWIN_NEED_CONTAINERS
|
||||||
_gcontainerInit();
|
_gcontainerInit();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void _gwinDeinit(void)
|
void _gwinDeinit(void)
|
||||||
{
|
{
|
||||||
extern void _gwmDeinit(void);
|
|
||||||
|
|
||||||
#if GWIN_NEED_CONTAINERS
|
#if GWIN_NEED_CONTAINERS
|
||||||
extern void _gcontainerDeinit(void);
|
|
||||||
|
|
||||||
_gcontainerDeinit();
|
_gcontainerDeinit();
|
||||||
#endif
|
#endif
|
||||||
#if GWIN_NEED_WIDGET
|
|
||||||
extern void _gwidgetDeinit(void);
|
|
||||||
|
|
||||||
|
#if GWIN_NEED_WIDGET
|
||||||
_gwidgetDeinit();
|
_gwidgetDeinit();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue