diff options
author | Timo Sirainen <cras@irssi.org> | 2002-01-04 21:20:32 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-01-04 21:20:32 +0000 |
commit | 855f467474cd7c77620a6579cbca7cfb88f94991 (patch) | |
tree | e5a0a24976eb2adfa034c642b61ee1903ad6d78b /src/core | |
parent | ca5df6fb8c3c8bff5da02d4689be8e3b06afcd49 (diff) | |
download | irssi-855f467474cd7c77620a6579cbca7cfb88f94991.zip |
Use static arrays, so it works with non-ansi C compilers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2294 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/core.c | 4 |
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" }; |