From f41d85112e34f66d656fbc2b5bca3ea43bcc62cf Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 15 Aug 2019 19:32:37 +0200 Subject: [PATCH] eapol: Make global variables static --- src/eapol.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/eapol.c b/src/eapol.c index 8b2e4f18..f1a9d8d0 100644 --- a/src/eapol.c +++ b/src/eapol.c @@ -41,15 +41,15 @@ #include "src/watchlist.h" #include "src/erp.h" -struct l_queue *state_machines; -struct l_queue *preauths; -struct watchlist frame_watches; +static struct l_queue *state_machines; +static struct l_queue *preauths; +static struct watchlist frame_watches; static uint32_t eapol_4way_handshake_time = 2; -eapol_rekey_offload_func_t rekey_offload = NULL; +static eapol_rekey_offload_func_t rekey_offload = NULL; -eapol_tx_packet_func_t tx_packet = NULL; -void *tx_user_data; +static eapol_tx_packet_func_t tx_packet = NULL; +static void *tx_user_data; #define VERIFY_IS_ZERO(field) \ do { \