eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 32dc69ffab4aaea5a7893c619bd87f2c89e68b82
parent 35743fa32a8d76a9ea3e1c3b73bca7a0701d37b4
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date:   Wed,  1 May 2019 17:32:30 +0200

scan: Add static qualifiers, remove initializers

Diffstat:
Msrc/scan.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/scan.c b/src/scan.c @@ -49,11 +49,11 @@ #define SCAN_MAX_INTERVAL 320 #define SCAN_INIT_INTERVAL 10 -struct l_queue *scan_contexts = NULL; +static struct l_queue *scan_contexts; -static struct l_genl_family *nl80211 = NULL; -uint32_t scan_id = 0; -uint32_t next_scan_request_id = 0; +static struct l_genl_family *nl80211; +static uint32_t scan_id; +static uint32_t next_scan_request_id; struct scan_periodic { struct l_timeout *timeout;