summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-08-15 19:54:05 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-08-15 19:54:05 +0000
commite4b8919343c2a2e514841af21f5775986895a573 (patch)
treef4d0c387ae83eb5a90837228f3647349181ab201 /mg.c
parent084d946dff49082ababb67074b279e5d7527d310 (diff)
downloadperl-e4b8919343c2a2e514841af21f5775986895a573.tar.gz
magic callbacks all need to have same type signature
p4raw-id: //depot/perl@6642
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mg.c b/mg.c
index c0d6132a46..d4e1a043d9 100644
--- a/mg.c
+++ b/mg.c
@@ -379,11 +379,13 @@ Perl_magic_regdatum_get(pTHX_ SV *sv, MAGIC *mg)
return 0;
}
-void
+int
Perl_magic_regdatum_set(pTHX_ SV *sv, MAGIC *mg)
{
dTHR;
Perl_croak(aTHX_ PL_no_modify);
+ /* NOT REACHED */
+ return 0;
}
U32