summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-12-01 21:28:13 +0000
committerNicholas Clark <nick@ccl4.org>2008-12-01 21:28:13 +0000
commitefd0b058b26702bef38cdb6ce1a9da02e3e7cf89 (patch)
tree6bb33795d5af71adbf246e78f8dba5b83c24be3c /embed.fnc
parent3a9222bef66d8694e74574667f2e773ea7c3f1ed (diff)
downloadperl-efd0b058b26702bef38cdb6ce1a9da02e3e7cf89.tar.gz
Convention seems to be that static definitions are also made visible by
|| defined(PERL_DECL_PROT), so add this where it is missing. p4raw-id: //depot/perl@34972
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc28
1 files changed, 14 insertions, 14 deletions
diff --git a/embed.fnc b/embed.fnc
index b0aeea1b21..2ecd5e1400 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -217,7 +217,7 @@ p |void |deprecate |NN const char *const s
: Used in various files
p |void |deprecate_old |NN const char *const s
Afp |OP* |die |NULLOK const char* pat|...
-#if defined(PERL_IN_UTIL_C)
+#if defined(PERL_IN_UTIL_C) || defined(PERL_DECL_PROT)
s |OP* |vdie |NULLOK const char* pat|NULLOK va_list* args
#endif
: Used in util.c
@@ -249,7 +249,7 @@ Ap |int |do_spawn_nowait|NN char* cmd
p |bool |do_exec3 |NN const char *incmd|int fd|int do_report
#endif
p |void |do_execfree
-#ifdef PERL_IN_DOIO_C
+#if defined(PERL_IN_DOIO_C) || defined(PERL_DECL_PROT)
s |void |exec_failed |NN const char *cmd|int fd|int do_report
#endif
#if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
@@ -319,7 +319,7 @@ ApdR |char* |fbm_instr |NN unsigned char* big|NN unsigned char* bigend \
: Defined in util.c, used only in perl.c
p |char* |find_script |NN const char *scriptname|bool dosearch \
|NULLOK const char *const *const search_ext|I32 flags
-#if defined(PERL_IN_OP_C)
+#if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
s |OP* |force_list |NULLOK OP* arg
: FIXME
s |OP* |fold_constants |NN OP *o
@@ -327,7 +327,7 @@ s |OP* |fold_constants |NN OP *o
Afpd |char* |form |NN const char* pat|...
Ap |char* |vform |NN const char* pat|NULLOK va_list* args
Ap |void |free_tmps
-#if defined(PERL_IN_OP_C)
+#if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
s |OP* |gen_constant_list|NULLOK OP* o
#endif
#if !defined(HAS_GETENV_LEN)
@@ -427,7 +427,7 @@ ApP |I32 |ibcmp_locale |NN const char* a|NN const char* b|I32 len
Apd |I32 |ibcmp_utf8 |NN const char *s1|NULLOK char **pe1|UV l1 \
|bool u1|NN const char *s2|NULLOK char **pe2 \
|UV l2|bool u2
-#if defined(PERL_IN_DOIO_C)
+#if defined(PERL_IN_DOIO_C) || defined(PERL_DECL_PROT)
sR |bool |ingroup |Gid_t testgid|bool effective
#endif
: Used in toke.c
@@ -513,7 +513,7 @@ Ap |void |op_null |NN OP* o
EXp |void |op_clear |NN OP* o
Ap |void |op_refcnt_lock
Ap |void |op_refcnt_unlock
-#if defined(PERL_IN_OP_C)
+#if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
s |OP* |linklist |NN OP *o
s |OP* |listkids |NULLOK OP* o
#endif
@@ -748,7 +748,7 @@ pd |void |pad_leavemy
Apd |SV* |pad_sv |PADOFFSET po
: Defined in pad.c, used only in op.c
pd |void |pad_free |PADOFFSET po
-#if defined(PERL_IN_PAD_C)
+#if defined(PERL_IN_PAD_C) || defined(PERL_DECL_PROT)
sd |void |pad_reset
#endif
: Used in op.c
@@ -795,7 +795,7 @@ s |void |pidgone |Pid_t pid|int status
Ap |void |pmflag |NN U32* pmfl|int ch
: Used in perly.y
p |OP* |pmruntime |NN OP *o|NN OP *expr|bool isreg
-#if defined(PERL_IN_OP_C)
+#if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
s |OP* |pmtrans |NN OP* o|NN OP* expr|NN OP* repl
#endif
Ap |void |pop_scope
@@ -803,7 +803,7 @@ Ap |void |pop_scope
p |OP* |prepend_elem |I32 optype|NULLOK OP* head|NULLOK OP* tail
Ap |void |push_scope
Amb |OP* |ref |NULLOK OP* o|I32 type
-#if defined(PERL_IN_OP_C)
+#if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
s |OP* |refkids |NULLOK OP* o|I32 type
#endif
Ap |void |regdump |NN const regexp* r
@@ -865,7 +865,7 @@ p |int |rsignal_restore|int i|NULLOK Sigsave_t* t
: Used in pp_sys.c
p |int |rsignal_save |int i|Sighandler_t t1|NN Sigsave_t* save
Ap |Sighandler_t|rsignal_state|int i
-#if defined(PERL_IN_PP_CTL_C)
+#if defined(PERL_IN_PP_CTL_C) || defined(PERL_DECL_PROT)
s |void |rxres_free |NN void** rsp
s |void |rxres_restore |NN void **rsp|NN REGEXP *rx
#endif
@@ -937,7 +937,7 @@ s |void |save_pushptri32ptr|NULLOK void *const ptr1|const I32 i \
p |OP* |sawparens |NULLOK OP* o
: Used in perly.y
p |OP* |scalar |NULLOK OP* o
-#if defined(PERL_IN_OP_C)
+#if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
s |OP* |scalarkids |NULLOK OP* o
s |OP* |scalarseq |NULLOK OP* o
#endif
@@ -969,7 +969,7 @@ Apd |bool |sv_2bool |NN SV *const sv
Apd |CV* |sv_2cv |NULLOK SV* sv|NN HV **const st|NN GV **const gvp \
|const I32 lref
Apd |IO* |sv_2io |NN SV *const sv
-#ifdef PERL_IN_SV_C
+#if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
s |bool |glob_2number |NN GV* const gv
s |char* |glob_2pv |NN GV* const gv|NULLOK STRLEN * const len
#endif
@@ -993,7 +993,7 @@ Apd |char* |sv_pvn |NN SV *sv|NN STRLEN *lp
Apd |char* |sv_pvutf8n |NN SV *sv|NN STRLEN *lp
Apd |char* |sv_pvbyten |NN SV *sv|NN STRLEN *lp
Apd |I32 |sv_true |NULLOK SV *const sv
-#if defined (PERL_IN_SV_C)
+#if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
sd |void |sv_add_arena |NN char *const ptr|const U32 size \
|const U32 flags
#endif
@@ -1915,7 +1915,7 @@ ApR |PerlIO *|PerlIO_stderr
: Only used in dump.c
p |void |deb_stack_all
-#ifdef PERL_IN_DEB_C
+#if defined(PERL_IN_DEB_C) || defined(PERL_DECL_PROT)
s |void |deb_stack_n |NN SV** stack_base|I32 stack_min \
|I32 stack_max|I32 mark_min|I32 mark_max
#endif