diff --git a/src/core/core.c b/src/core/core.c index 647eb6b4..b6362ffa 100644 --- a/src/core/core.c +++ b/src/core/core.c @@ -49,7 +49,7 @@ #ifdef HAVE_SYS_RESOURCE_H # include - struct rlimit orig_core_rlimit; + static struct rlimit orig_core_rlimit; #endif void chat_commands_init(void); diff --git a/src/core/servers-setup.c b/src/core/servers-setup.c index b442a41d..1eb69491 100644 --- a/src/core/servers-setup.c +++ b/src/core/servers-setup.c @@ -31,7 +31,7 @@ GSList *setupservers; -char *old_source_host; +static char *old_source_host; int source_host_ok; /* Use source_host_ip .. */ IPADDR *source_host_ip4, *source_host_ip6; /* Resolved address */ diff --git a/src/fe-common/core/fe-recode.c b/src/fe-common/core/fe-recode.c index cb5b28ee..b3092a09 100644 --- a/src/fe-common/core/fe-recode.c +++ b/src/fe-common/core/fe-recode.c @@ -33,9 +33,9 @@ # include #endif -char *recode_fallback = NULL; -char *recode_out_default = NULL; -char *term_charset = NULL; +static char *recode_fallback = NULL; +static char *recode_out_default = NULL; +static char *term_charset = NULL; static const char *fe_recode_get_target (WI_ITEM_REC *witem) {