diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-11-26 23:02:47 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-11-26 23:02:47 +0000 |
commit | d2bd4e7f98213965c3bc8845749b1ba217cd7a27 (patch) | |
tree | f4496fb59919d28f39dbc58fbe1b59ab399abdd9 /proto.h | |
parent | b429380fd7d54c14783866916eff039809949692 (diff) | |
download | perl-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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 \ |