summaryrefslogtreecommitdiff
path: root/src/perl/perl-core.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-09-19 14:30:10 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-09-19 14:30:10 +0000
commitf31b59b48b8bba81f2a0396e87eded5a616ab567 (patch)
tree43cb0e06dbdfbbc77cc7414851fdd73ead599426 /src/perl/perl-core.c
parentfe73785c7a3573b89323bb4ee88d3c67b97707e2 (diff)
downloadirssi-f31b59b48b8bba81f2a0396e87eded5a616ab567.zip
support for threaded perl. patch by mls@suse.de
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2930 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/perl-core.c')
-rw-r--r--src/perl/perl-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/perl/perl-core.c b/src/perl/perl-core.c
index 0c1e506b..2d300289 100644
--- a/src/perl/perl-core.c
+++ b/src/perl/perl-core.c
@@ -84,7 +84,7 @@ static void perl_script_destroy(PERL_SCRIPT_REC *script)
g_free(script);
}
-extern void boot_DynaLoader(CV* cv);
+extern void boot_DynaLoader(pTHX_ CV* cv);
#if PERL_STATIC_LIBS == 1
extern void boot_Irssi(CV *cv);
@@ -101,7 +101,7 @@ XS(boot_Irssi_Core)
}
#endif
-static void xs_init(void)
+static void xs_init(pTHX)
{
dXSUB_SYS;