From 38e831afa00a3cb5239911ed9cfb3a52beddc9b3 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 1 Nov 2018 19:55:37 +0100 Subject: [PATCH] main: Make genl and nl80211 global variables static --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index afb895e0..d5ca8c8f 100644 --- a/src/main.c +++ b/src/main.c @@ -46,8 +46,8 @@ #include "src/backtrace.h" -struct l_genl *genl; -struct l_genl_family *nl80211; +static struct l_genl *genl; +static struct l_genl_family *nl80211; static struct l_settings *iwd_config; static struct l_timeout *timeout; static const char *interfaces;