summaryrefslogtreecommitdiff
path: root/src/perl/common
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2008-12-08 17:11:00 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2008-12-08 17:11:00 +0000
commit48d0135d3edf80a042110d0940656415c758bc63 (patch)
tree8840f69a4270c889c844e494de88492b918fed0a /src/perl/common
parent8a5aa22ed82ea33cc51758b11008a4f8a53a5857 (diff)
downloadirssi-48d0135d3edf80a042110d0940656415c758bc63.zip
Make some functions static.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4956 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/common')
-rw-r--r--src/perl/common/Core.xs2
-rw-r--r--src/perl/common/Expando.xs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/perl/common/Core.xs b/src/perl/common/Core.xs
index 4032340a..1a7ee18d 100644
--- a/src/perl/common/Core.xs
+++ b/src/perl/common/Core.xs
@@ -7,7 +7,7 @@
#define DEFAULT_COMMAND_CATEGORY "Perl scripts' commands"
-void perl_signal_add_hash(int priority, SV *sv)
+static void perl_signal_add_hash(int priority, SV *sv)
{
HV *hv;
HE *he;
diff --git a/src/perl/common/Expando.xs b/src/perl/common/Expando.xs
index 5bf27bec..31b4f990 100644
--- a/src/perl/common/Expando.xs
+++ b/src/perl/common/Expando.xs
@@ -100,7 +100,7 @@ static char *sig_perl_expando(SERVER_REC *server, void *item, int *free_ret)
return NULL;
}
-void expando_signals_add_hash(const char *key, SV *signals)
+static void expando_signals_add_hash(const char *key, SV *signals)
{
HV *hv;
HE *he;