mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 08:32:07 +02: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue