summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-11-26 20:14:02 +0000
committerNicholas Clark <nick@ccl4.org>2008-11-26 20:14:02 +0000
commitc8aa86e11144b22a034d68da930a681a5a5fb4f5 (patch)
tree58fd0f18f30a84b8487a3f6815c3c3860fd34832 /proto.h
parent0da8eb3af06fe58c4c8c297ae7e9457946d4f195 (diff)
downloadperl-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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index c4c0c01d09..4d5c83e9ee 100644
--- a/proto.h
+++ b/proto.h
@@ -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__;