summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-11-26 16:04:04 +0000
committerNicholas Clark <nick@ccl4.org>2008-11-26 16:04:04 +0000
commit2dd5337ba7701c25f6807a12b77238cc673d5b07 (patch)
tree926d3a92d4e067832ac1e000135dedec46df9725 /proto.h
parent12e93c28cc74b0b04b280450aa12fee787cfbe3b (diff)
downloadperl-2dd5337ba7701c25f6807a12b77238cc673d5b07.tar.gz
Following on from change 34918, scalarkids() and scalarseq() can also
be static in op.c, so make it so. p4raw-id: //depot/perl@34919
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/proto.h b/proto.h
index 26de5313cf..22efaf057f 100644
--- a/proto.h
+++ b/proto.h
@@ -1446,11 +1446,13 @@ PERL_CALLCONV void Perl_op_clear(pTHX_ OP* o)
PERL_CALLCONV void Perl_op_refcnt_lock(pTHX);
PERL_CALLCONV void Perl_op_refcnt_unlock(pTHX);
+#if defined(PERL_IN_OP_C)
STATIC OP* S_linklist(pTHX_ OP *o)
__attribute__nonnull__(pTHX_1);
#define PERL_ARGS_ASSERT_LINKLIST \
assert(o)
+#endif
PERL_CALLCONV OP* Perl_list(pTHX_ OP* o);
PERL_CALLCONV OP* Perl_listkids(pTHX_ OP* o);
PERL_CALLCONV void Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...)
@@ -2924,8 +2926,10 @@ PERL_CALLCONV SV* Perl_save_svref(pTHX_ SV** sptr)
PERL_CALLCONV OP* Perl_sawparens(pTHX_ OP* o);
PERL_CALLCONV OP* Perl_scalar(pTHX_ OP* o);
-PERL_CALLCONV OP* Perl_scalarkids(pTHX_ OP* o);
-PERL_CALLCONV OP* Perl_scalarseq(pTHX_ OP* o);
+#if defined(PERL_IN_OP_C)
+STATIC OP* S_scalarkids(pTHX_ OP* o);
+STATIC OP* S_scalarseq(pTHX_ OP* o);
+#endif
PERL_CALLCONV OP* Perl_scalarvoid(pTHX_ OP* o)
__attribute__nonnull__(pTHX_1);
#define PERL_ARGS_ASSERT_SCALARVOID \