summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-11-26 20:53:23 +0000
committerNicholas Clark <nick@ccl4.org>2008-11-26 20:53:23 +0000
commit82af08ae5f1a7d2e5deb69172b40d3168c149528 (patch)
tree5a591ea905f7ec5a80a9a7fd33aff08c8732f592 /embed.fnc
parent1f4e14d11aa03d2274b4d16575cf47b35f529bfa (diff)
downloadperl-82af08ae5f1a7d2e5deb69172b40d3168c149528.tar.gz
pad_reset() is only used in pad.c, so can be static.
Protect the prototype of S_vdie() with #if defined (PERL_IN_UTIL_C) p4raw-id: //depot/perl@34929
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc6
1 files changed, 5 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index 033096d9be..848da462b7 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -197,7 +197,9 @@ pM |void |delete_eval_scope
p |void |deprecate |NN const char *const s
p |void |deprecate_old |NN const char *const s
Afp |OP* |die |NULLOK const char* pat|...
+#if defined(PERL_IN_UTIL_C)
s |OP* |vdie |NULLOK const char* pat|NULLOK va_list* args
+#endif
p |OP* |die_where |NULLOK const char* message|STRLEN msglen
Ap |void |dounwind |I32 cxix
pmb |bool |do_aexec |NULLOK SV* really|NN SV** mark|NN SV** sp
@@ -669,7 +671,9 @@ pR |OP* |oopsHV |NN OP* o
pd |void |pad_leavemy
Apd |SV* |pad_sv |PADOFFSET po
pd |void |pad_free |PADOFFSET po
-pd |void |pad_reset
+#if defined(PERL_IN_PAD_C)
+sd |void |pad_reset
+#endif
pd |void |pad_swipe |PADOFFSET po|bool refadjust
p |void |peep |NULLOK OP* o
dopM |PerlIO*|start_glob |NN SV *tmpglob|NN IO *io