summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/core.c b/src/core/core.c
index 7fd00465..f453a88f 100644
--- a/src/core/core.c
+++ b/src/core/core.c
@@ -77,11 +77,11 @@ const char *get_irssi_config(void)
static void read_settings(void)
{
#ifndef WIN32
- int signals[] = {
+ static int signals[] = {
SIGHUP, SIGINT, SIGQUIT, SIGTERM,
SIGALRM, SIGUSR1, SIGUSR2
};
- char *signames[] = {
+ static char *signames[] = {
"hup", "int", "quit", "term",
"alrm", "usr1", "usr2"
};