make static, to not pollute globals
This commit is contained in:
+2
-2
@@ -8,12 +8,12 @@
|
|||||||
|
|
||||||
static enum IOMUX_TYPE g_iomux_type = IOMUX_TYPE_DEFAULT;
|
static enum IOMUX_TYPE g_iomux_type = IOMUX_TYPE_DEFAULT;
|
||||||
|
|
||||||
void set_iomux_type_select(void)
|
static void set_iomux_type_select(void)
|
||||||
{
|
{
|
||||||
g_iomux_type = IOMUX_TYPE_SELECT;
|
g_iomux_type = IOMUX_TYPE_SELECT;
|
||||||
}
|
}
|
||||||
|
|
||||||
void set_iomux_type_epoll(void)
|
static void set_iomux_type_epoll(void)
|
||||||
{
|
{
|
||||||
g_iomux_type = IOMUX_TYPE_EPOLL;
|
g_iomux_type = IOMUX_TYPE_EPOLL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user