summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-11-26 23:02:47 +0000
committerNicholas Clark <nick@ccl4.org>2008-11-26 23:02:47 +0000
commitd2bd4e7f98213965c3bc8845749b1ba217cd7a27 (patch)
treef4496fb59919d28f39dbc58fbe1b59ab399abdd9 /embed.h
parentb429380fd7d54c14783866916eff039809949692 (diff)
downloadperl-d2bd4e7f98213965c3bc8845749b1ba217cd7a27.tar.gz
sv_add_arena() is now only called from sv.c, so it can be static.
p4raw-id: //depot/perl@34938
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/embed.h b/embed.h
index 7fbec386c2..c227492996 100644
--- a/embed.h
+++ b/embed.h
@@ -888,8 +888,10 @@
#define sv_pvutf8n Perl_sv_pvutf8n
#define sv_pvbyten Perl_sv_pvbyten
#define sv_true Perl_sv_true
+#if defined (PERL_IN_SV_C)
#ifdef PERL_CORE
-#define sv_add_arena Perl_sv_add_arena
+#define sv_add_arena S_sv_add_arena
+#endif
#endif
#define sv_backoff Perl_sv_backoff
#define sv_bless Perl_sv_bless
@@ -3233,8 +3235,10 @@
#define sv_pvutf8n(a,b) Perl_sv_pvutf8n(aTHX_ a,b)
#define sv_pvbyten(a,b) Perl_sv_pvbyten(aTHX_ a,b)
#define sv_true(a) Perl_sv_true(aTHX_ a)
+#if defined (PERL_IN_SV_C)
#ifdef PERL_CORE
-#define sv_add_arena(a,b,c) Perl_sv_add_arena(aTHX_ a,b,c)
+#define sv_add_arena(a,b,c) S_sv_add_arena(aTHX_ a,b,c)
+#endif
#endif
#define sv_backoff(a) Perl_sv_backoff(aTHX_ a)
#define sv_bless(a,b) Perl_sv_bless(aTHX_ a,b)