diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-08-20 20:44:39 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-08-20 20:44:39 +0100 |
commit | ecf9cdab78811498b3ffea48cfdfb09f678050d2 (patch) | |
tree | 3eaed8f04cd6d9eb3797bf04b2fc5349ff394299 /proto.h | |
parent | b7781c7ebca16bcc1cb2792cc1754c7d44875050 (diff) | |
download | perl-ecf9cdab78811498b3ffea48cfdfb09f678050d2.tar.gz |
Move the declaration for more_bodies outside of an #if defined(PERL_IN_SV_C)
It used to be a static function, hence the location, and I failed to spot that
I needed to move it, when I edited it to be non-static.
Problem spotted by Jerry D. Hedden.
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -5881,7 +5881,6 @@ STATIC void S_sv_release_COW(pTHX_ SV *sv, const char *pvx, SV *after) # endif STATIC SV * S_more_sv(pTHX); -PERL_CALLCONV void * Perl_more_bodies(pTHX_ const svtype sv_type, const size_t body_size, const size_t arena_size); STATIC bool S_sv_2iuv_common(pTHX_ SV *const sv) __attribute__nonnull__(pTHX_1); #define PERL_ARGS_ASSERT_SV_2IUV_COMMON \ @@ -5913,6 +5912,8 @@ STATIC void S_anonymise_cv_maybe(pTHX_ GV *gv, CV *cv) #endif +PERL_CALLCONV void * Perl_more_bodies(pTHX_ const svtype sv_type, const size_t body_size, const size_t arena_size); + #if defined(PERL_IN_TOKE_C) STATIC void S_check_uni(pTHX); STATIC void S_force_next(pTHX_ I32 type); |