summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-10-28 01:50:55 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-10-28 01:50:55 +0000
commit8f424cd082f8a5c66576eb7f3f6e50a40495fdab (patch)
treeacb6b58e348e897f048c73d28e2a513d92325462 /src
parentc764853132acad1c8cdde108e9187e47047d3362 (diff)
downloadirssi-8f424cd082f8a5c66576eb7f3f6e50a40495fdab.zip
fix for new perls
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2979 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/perl/ui/Formats.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/perl/ui/Formats.xs b/src/perl/ui/Formats.xs
index 42376f8a..11a2951c 100644
--- a/src/perl/ui/Formats.xs
+++ b/src/perl/ui/Formats.xs
@@ -1,6 +1,6 @@
#include "module.h"
-static int magic_free_text_dest(SV *sv, MAGIC *mg)
+static int magic_free_text_dest(pTHX_ SV *sv, MAGIC *mg)
{
TEXT_DEST_REC *dest = (TEXT_DEST_REC *) mg->mg_ptr;
g_free((char *) dest->target);