This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
(retracted by #14307)
[perl5.git] / perly.c
diff --git a/perly.c b/perly.c
index 5596768..2d4d79e 100644 (file)
--- a/perly.c
+++ b/perly.c
@@ -31,7 +31,7 @@ struct ysv {
     YYSTYPE oldyylval;
 };
 
-static void yydestruct(pTHXo_ void *ptr);
+static void yydestruct(pTHX_ void *ptr);
 
 #line 51 "perly.y"
 #if 0 /* get this from perly.h instead */
@@ -2528,12 +2528,8 @@ yyaccept:
     return retval;
 }
 
-#ifdef PERL_OBJECT
-#include "XSUB.h"
-#endif
-
 static void
-yydestruct(pTHXo_ void *ptr)
+yydestruct(pTHX_ void *ptr)
 {
     struct ysv* ysave = (struct ysv*)ptr;
     if (ysave->yyss) Safefree(ysave->yyss);