diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-11-26 20:14:02 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-11-26 20:14:02 +0000 |
commit | c8aa86e11144b22a034d68da930a681a5a5fb4f5 (patch) | |
tree | 58fd0f18f30a84b8487a3f6815c3c3860fd34832 /proto.h | |
parent | 0da8eb3af06fe58c4c8c297ae7e9457946d4f195 (diff) | |
download | perl-c8aa86e11144b22a034d68da930a681a5a5fb4f5.tar.gz |
is_gv_magical() is only called from within gv.c.
p4raw-id: //depot/perl@34926
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1148,12 +1148,14 @@ PERL_CALLCONV bool Perl_io_close(pTHX_ IO* io, bool not_implicit) PERL_CALLCONV OP* Perl_invert(pTHX_ OP* cmd) __attribute__warn_unused_result__; -PERL_CALLCONV bool Perl_is_gv_magical(pTHX_ const char *name, STRLEN len, U32 flags) +#if defined(PERL_IN_GV_C) +STATIC bool S_is_gv_magical(pTHX_ const char *name, STRLEN len, U32 flags) __attribute__warn_unused_result__ __attribute__nonnull__(pTHX_1); #define PERL_ARGS_ASSERT_IS_GV_MAGICAL \ assert(name) +#endif PERL_CALLCONV I32 Perl_is_lvalue_sub(pTHX) __attribute__warn_unused_result__; |