treewide: Make global variables static

This commit is contained in:
Denis Kenzior 2019-08-15 12:51:49 -05:00
parent 9d177a63b7
commit ed8a4ab931
3 changed files with 3 additions and 3 deletions

View File

@ -93,7 +93,7 @@ struct user_cb {
static uint32_t ofono_watch;
static uint32_t modem_add_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)
{

View File

@ -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 __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,
const char *name)

View File

@ -86,7 +86,7 @@ static const char *kernel_image;
static const char *exec_home;
static const char *test_action_params;
static char top_level_path[PATH_MAX];
struct l_queue *wiphy_list;
static struct l_queue *wiphy_list;
#if defined(__i386__)
/*