mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 09:39:25 +01:00
treewide: Make global variables static
This commit is contained in:
parent
9d177a63b7
commit
ed8a4ab931
@ -93,7 +93,7 @@ struct user_cb {
|
|||||||
static uint32_t ofono_watch;
|
static uint32_t ofono_watch;
|
||||||
static uint32_t modem_add_watch;
|
static uint32_t modem_add_watch;
|
||||||
static uint32_t modem_removed_watch;
|
static uint32_t modem_removed_watch;
|
||||||
struct l_queue *modems;
|
static struct l_queue *modems;
|
||||||
|
|
||||||
static struct user_cb *new_cb(void *func, void *data, bool is_gsm)
|
static struct user_cb *new_cb(void *func, void *data, bool is_gsm)
|
||||||
{
|
{
|
||||||
|
@ -45,7 +45,7 @@ extern struct iwd_module_desc __stop___iwd_module[];
|
|||||||
extern struct iwd_module_depends __start___iwd_module_dep[];
|
extern struct iwd_module_depends __start___iwd_module_dep[];
|
||||||
extern struct iwd_module_depends __stop___iwd_module_dep[];
|
extern struct iwd_module_depends __stop___iwd_module_dep[];
|
||||||
|
|
||||||
struct iwd_module_desc **modules_sorted;
|
static struct iwd_module_desc **modules_sorted;
|
||||||
|
|
||||||
static struct module *module_find(struct module *modules, size_t count,
|
static struct module *module_find(struct module *modules, size_t count,
|
||||||
const char *name)
|
const char *name)
|
||||||
|
@ -86,7 +86,7 @@ static const char *kernel_image;
|
|||||||
static const char *exec_home;
|
static const char *exec_home;
|
||||||
static const char *test_action_params;
|
static const char *test_action_params;
|
||||||
static char top_level_path[PATH_MAX];
|
static char top_level_path[PATH_MAX];
|
||||||
struct l_queue *wiphy_list;
|
static struct l_queue *wiphy_list;
|
||||||
|
|
||||||
#if defined(__i386__)
|
#if defined(__i386__)
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user