summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2012-08-14 14:24:34 +0200
committerNicholas Clark <nick@ccl4.org>2012-09-04 11:08:38 +0200
commit83519873101c5088b6e33e85da400d6f575c0ceb (patch)
tree5a84b6605aa22bcb4db7910085ecca051459e92b /proto.h
parent372eab0142c6ca32a90d09218d73cf03c96f35b3 (diff)
downloadperl-83519873101c5088b6e33e85da400d6f575c0ceb.tar.gz
In op.c, change S_Slab_to_rw() from an OP * parameter to an OPSLAB *.
This makes it consistent with Perl_Slab_to_ro(), which takes an OPSLAB *.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto.h b/proto.h
index 76708350a1..07cfd9a3c7 100644
--- a/proto.h
+++ b/proto.h
@@ -5324,10 +5324,10 @@ PERL_CALLCONV PADOFFSET Perl_op_refcnt_dec(pTHX_ OP *o)
PERL_CALLCONV OP * Perl_op_refcnt_inc(pTHX_ OP *o);
# if defined(PERL_IN_OP_C)
-STATIC void S_Slab_to_rw(pTHX_ void *op)
+STATIC void S_Slab_to_rw(pTHX_ OPSLAB *const slab)
__attribute__nonnull__(pTHX_1);
#define PERL_ARGS_ASSERT_SLAB_TO_RW \
- assert(op)
+ assert(slab)
# endif
#endif