diff options
author | Andy Dougherty <doughera@lafayette.edu> | 2008-03-26 09:42:06 -0400 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2008-04-14 15:55:28 +0000 |
commit | 61a59f30bcebf88ce17229ad2276090c32ad7c1f (patch) | |
tree | 8b381c5ec8fb91b2384c42c9823109e40681a1b4 | |
parent | a1021d57870f2cf967a704182b47a5defa79a0f1 (diff) | |
download | perl-61a59f30bcebf88ce17229ad2276090c32ad7c1f.tar.gz |
Re: Solaris build warnings
Message-ID: <Pine.LNX.4.64.0803261337130.22919@fractal.phys.lafayette.edu>
Rename the "optype" typedef to "Optype"
p4raw-id: //depot/perl@33679
-rw-r--r-- | op.c | 4 | ||||
-rw-r--r-- | op.h | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -548,7 +548,7 @@ Perl_op_clear(pTHX_ OP *o) switch (o->op_type) { case OP_NULL: /* Was holding old type, if any. */ if (PL_madskills && o->op_targ != OP_NULL) { - o->op_type = (optype)o->op_targ; + o->op_type = (Optype)o->op_targ; o->op_targ = 0; goto retry; } @@ -5057,7 +5057,7 @@ S_newGIVWHENOP(pTHX_ OP *cond, OP *block, PERL_ARGS_ASSERT_NEWGIVWHENOP; NewOp(1101, enterop, 1, LOGOP); - enterop->op_type = (optype)enter_opcode; + enterop->op_type = (Optype)enter_opcode; enterop->op_ppaddr = PL_ppaddr[enter_opcode]; enterop->op_flags = (U8) OPf_KIDS; enterop->op_targ = ((entertarg == NOT_IN_PAD) ? 0 : entertarg); @@ -45,7 +45,7 @@ # define MADPROP_IN_BASEOP #endif -typedef PERL_BITFIELD16 optype; +typedef PERL_BITFIELD16 Optype; #ifdef BASEOP_DEFINITION #define BASEOP BASEOP_DEFINITION |