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.
This commit is contained in:
David Kahurani 2024-09-22 14:48:44 +03:00
parent 0697e3eaf1
commit 14b83fdda6

View File

@ -30,7 +30,9 @@
#include <irssi/src/core/chatnets.h> #include <irssi/src/core/chatnets.h>
#include <irssi/src/core/servers.h> #include <irssi/src/core/servers.h>
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) static void chatnet_config_save(CHATNET_REC *chatnet)
{ {