summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-11-26 22:25:18 +0000
committerNicholas Clark <nick@ccl4.org>2008-11-26 22:25:18 +0000
commit9c105995f0120a86f489fa9da8e150fc55635f02 (patch)
tree1616d443a1213e27344ffb50679b59392fae193a /embed.fnc
parent1f676739c0ff005ad6d6d4d3691c095800bc458c (diff)
downloadperl-9c105995f0120a86f489fa9da8e150fc55635f02.tar.gz
rxres_free() and rxres_restore() are only used in pp_ctl.c, so can be
static. Macros PUSHSUBST() and POPSUBST() are only viable in PERL_CORE. p4raw-id: //depot/perl@34935
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc7
1 files changed, 5 insertions, 2 deletions
diff --git a/embed.fnc b/embed.fnc
index e0b84c2108..1b3fde0ff1 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -772,8 +772,11 @@ Ap |Sighandler_t|rsignal |int i|Sighandler_t t
p |int |rsignal_restore|int i|NULLOK Sigsave_t* t
p |int |rsignal_save |int i|Sighandler_t t1|NN Sigsave_t* save
Ap |Sighandler_t|rsignal_state|int i
-p |void |rxres_free |NN void** rsp
-p |void |rxres_restore |NN void **rsp|NN REGEXP *rx
+#if defined(PERL_IN_PP_CTL_C)
+s |void |rxres_free |NN void** rsp
+s |void |rxres_restore |NN void **rsp|NN REGEXP *rx
+#endif
+: Used in pp_hot.c
p |void |rxres_save |NN void **rsp|NN REGEXP *rx
#if !defined(HAS_RENAME)
p |I32 |same_dirent |NN const char* a|NN const char* b