summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embed.h4
-rw-r--r--embedvar.h2
-rw-r--r--perlapi.h2
-rw-r--r--proto.h4
4 files changed, 4 insertions, 8 deletions
diff --git a/embed.h b/embed.h
index d6a0e9d0ab..6eefaae1f9 100644
--- a/embed.h
+++ b/embed.h
@@ -3202,7 +3202,7 @@
#define nuke_stacks() S_nuke_stacks(aTHX)
#define open_script(a,b,c) S_open_script(aTHX_ a,b,c)
#define usage(a) S_usage(aTHX_ a)
-#define validate_suid(a,b) S_validate_suid(aTHX_ a,b)
+#define validate_suid(a,b,c) S_validate_suid(aTHX_ a,b,c)
#endif
# if defined(IAMSUID)
#ifdef PERL_CORE
@@ -4160,7 +4160,7 @@
#if !defined(PERL_CORE)
# define sv_setptrobj(rv,ptr,name) sv_setref_iv(rv,name,PTR2IV(ptr))
-# define sv_setptrref(rv,ptr) sv_setref_iv(rv,Nullch,PTR2IV(ptr))
+# define sv_setptrref(rv,ptr) sv_setref_iv(rv,NULL,PTR2IV(ptr))
#endif
#if !defined(PERL_CORE) && !defined(PERL_NOCOMPAT)
diff --git a/embedvar.h b/embedvar.h
index 9b7fe7daf4..ecc46a009a 100644
--- a/embedvar.h
+++ b/embedvar.h
@@ -246,7 +246,6 @@
#define PL_exitlistlen (vTHX->Iexitlistlen)
#define PL_expect (vTHX->Iexpect)
#define PL_fdpid (vTHX->Ifdpid)
-#define PL_fdscript (vTHX->Ifdscript)
#define PL_filemode (vTHX->Ifilemode)
#define PL_forkprocess (vTHX->Iforkprocess)
#define PL_formfeed (vTHX->Iformfeed)
@@ -528,7 +527,6 @@
#define PL_Iexitlistlen PL_exitlistlen
#define PL_Iexpect PL_expect
#define PL_Ifdpid PL_fdpid
-#define PL_Ifdscript PL_fdscript
#define PL_Ifilemode PL_filemode
#define PL_Iforkprocess PL_forkprocess
#define PL_Iformfeed PL_formfeed
diff --git a/perlapi.h b/perlapi.h
index 1fc4e081c2..17cbf69c7b 100644
--- a/perlapi.h
+++ b/perlapi.h
@@ -290,8 +290,6 @@ END_EXTERN_C
#define PL_expect (*Perl_Iexpect_ptr(aTHX))
#undef PL_fdpid
#define PL_fdpid (*Perl_Ifdpid_ptr(aTHX))
-#undef PL_fdscript
-#define PL_fdscript (*Perl_Ifdscript_ptr(aTHX))
#undef PL_filemode
#define PL_filemode (*Perl_Ifilemode_ptr(aTHX))
#undef PL_forkprocess
diff --git a/proto.h b/proto.h
index 0e1e4fa63a..443303d40a 100644
--- a/proto.h
+++ b/proto.h
@@ -3185,14 +3185,14 @@ STATIC void S_my_exit_jump(pTHX)
__attribute__noreturn__;
STATIC void S_nuke_stacks(pTHX);
-STATIC void S_open_script(pTHX_ const char *scriptname, bool dosearch, SV *sv)
+STATIC int S_open_script(pTHX_ const char *scriptname, bool dosearch, SV *sv)
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_3);
STATIC void S_usage(pTHX_ const char *name)
__attribute__nonnull__(pTHX_1);
-STATIC void S_validate_suid(pTHX_ const char *validarg, const char *scriptname)
+STATIC void S_validate_suid(pTHX_ const char *validarg, const char *scriptname, int fdscript)
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_2);