commit ed8a4ab931db52a8122f7da4a97cca2ecbe91a92
parent 9d177a63b74ba8efb27f0f8bac46b2e357597d3b
Author: Denis Kenzior <denkenz@gmail.com>
Date: Thu, 15 Aug 2019 12:51:49 -0500
treewide: Make global variables static
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/ofono.c b/plugins/ofono.c
@@ -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)
{
diff --git a/src/module.c b/src/module.c
@@ -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)
diff --git a/tools/test-runner.c b/tools/test-runner.c
@@ -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__)
/*