From 14b83fdda632cc5a1723cb1e18cafcac07086f8d Mon Sep 17 00:00:00 2001 From: David Kahurani Date: Sun, 22 Sep 2024 14:48:44 +0300 Subject: [PATCH] core/chatnets : Make object local to the object file This object is not exposed via extern and therefore isn't accessible to other source files which makes it safe to assume that it should be local to this file. --- src/core/chatnets.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/chatnets.c b/src/core/chatnets.c index 770c7595..d8f80355 100644 --- a/src/core/chatnets.c +++ b/src/core/chatnets.c @@ -30,7 +30,9 @@ #include #include -GSList *chatnets, *chatnets_unavailable; /* list of available chat networks */ +/* list of available chat networks */ +GSList *chatnets; +static GSList *chatnets_unavailable; static void chatnet_config_save(CHATNET_REC *chatnet) {