]> git.vpit.fr Git - perl/modules/re-engine-Plugin.git/blobdiff - Plugin.xs
make the function prototype match the header file
[perl/modules/re-engine-Plugin.git] / Plugin.xs
index 5e5452a5438d48d56b42fc7f60195d7756198287..cc839c73d04757161b4187e1c1c50ff960749464 100644 (file)
--- a/Plugin.xs
+++ b/Plugin.xs
@@ -210,9 +210,9 @@ Plugin_free(pTHX_ REGEXP * const rx)
 }
 
 void *
-Plugin_dupe(pTHX_ const REGEXP * rx, CLONE_PARAMS *param)
+Plugin_dupe(pTHX_ REGEXP * const rx, CLONE_PARAMS *param)
 {
-    Perl_croak("dupe not supported yet");
+    Perl_croak(aTHX_ "dupe not supported yet");
     return rx->pprivate;
 }