diff options
author | Nicholas Clark <nick@ccl4.org> | 2012-08-14 14:24:34 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2012-09-04 11:08:38 +0200 |
commit | 83519873101c5088b6e33e85da400d6f575c0ceb (patch) | |
tree | 5a84b6605aa22bcb4db7910085ecca051459e92b /proto.h | |
parent | 372eab0142c6ca32a90d09218d73cf03c96f35b3 (diff) | |
download | perl-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |