summaryrefslogtreecommitdiff
path: root/proto.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 /proto.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 'proto.h')
-rw-r--r--proto.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index f9f996d8fe..3148a832cd 100644
--- a/proto.h
+++ b/proto.h
@@ -3083,11 +3083,13 @@ PERL_CALLCONV char* Perl_sv_pvbyten(pTHX_ SV *sv, STRLEN *lp)
assert(sv); assert(lp)
PERL_CALLCONV I32 Perl_sv_true(pTHX_ SV *const sv);
-PERL_CALLCONV void Perl_sv_add_arena(pTHX_ char *const ptr, const U32 size, const U32 flags)
+#if defined (PERL_IN_SV_C)
+STATIC void S_sv_add_arena(pTHX_ char *const ptr, const U32 size, const U32 flags)
__attribute__nonnull__(pTHX_1);
#define PERL_ARGS_ASSERT_SV_ADD_ARENA \
assert(ptr)
+#endif
PERL_CALLCONV int Perl_sv_backoff(pTHX_ SV *const sv)
__attribute__nonnull__(pTHX_1);
#define PERL_ARGS_ASSERT_SV_BACKOFF \