summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2008-04-28 09:27:13 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2008-04-28 09:27:13 +0000
commite32e6fea4b394780e9099322eab9c5ba3db0bbf6 (patch)
tree7f36a6bc6057a5d6337de8022438a6ce2a4dbe00 /src
parentcad6fb2e19ef5abb78d880d9a09aa4ebf6a6db24 (diff)
downloadirssi-e32e6fea4b394780e9099322eab9c5ba3db0bbf6.zip
Make some variables static.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4814 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/core/core.c2
-rw-r--r--src/core/servers-setup.c2
-rw-r--r--src/fe-common/core/fe-recode.c6
3 files changed, 5 insertions, 5 deletions
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 <sys/resource.h>
- 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 <langinfo.h>
#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)
{