mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
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
This commit is contained in:
parent
ca5df6fb8c
commit
855f467474
@ -77,11 +77,11 @@ const char *get_irssi_config(void)
|
|||||||
static void read_settings(void)
|
static void read_settings(void)
|
||||||
{
|
{
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
int signals[] = {
|
static int signals[] = {
|
||||||
SIGHUP, SIGINT, SIGQUIT, SIGTERM,
|
SIGHUP, SIGINT, SIGQUIT, SIGTERM,
|
||||||
SIGALRM, SIGUSR1, SIGUSR2
|
SIGALRM, SIGUSR1, SIGUSR2
|
||||||
};
|
};
|
||||||
char *signames[] = {
|
static char *signames[] = {
|
||||||
"hup", "int", "quit", "term",
|
"hup", "int", "quit", "term",
|
||||||
"alrm", "usr1", "usr2"
|
"alrm", "usr1", "usr2"
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user