commit f41d85112e34f66d656fbc2b5bca3ea43bcc62cf parent 884dcbab923540409c7446339fdcb2ba58a968a0 Author: Marcel Holtmann <marcel@holtmann.org> Date: Thu, 15 Aug 2019 19:32:37 +0200 eapol: Make global variables static Diffstat:
| M | src/eapol.c | | | 12 | ++++++------ |
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git 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 { \