summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-04-05 08:56:10 +0000
committerNicholas Clark <nick@ccl4.org>2007-04-05 08:56:10 +0000
commit4136a0f799bd94dcf9c5197e35db53e3c3c012b5 (patch)
tree20e438447bf3f7809af18d6fbf981b975ded0b1a /op.c
parenta1f22e0c11d435567d8b189336ae4f9dcc640eea (diff)
downloadperl-4136a0f799bd94dcf9c5197e35db53e3c3c012b5.tar.gz
S_op_destroy() was not static. Also tidy all other STATIC/static
declarations onto the same line as the return type, to make checking this easier. p4raw-id: //depot/perl@30846
Diffstat (limited to 'op.c')
-rw-r--r--op.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/op.c b/op.c
index 7c7e74f2f6..f1a1c1b368 100644
--- a/op.c
+++ b/op.c
@@ -384,7 +384,7 @@ Perl_allocmy(pTHX_ const char *const name)
/* free the body of an op without examining its contents.
* Always use this rather than FreeOp directly */
-void
+static void
S_op_destroy(pTHX_ OP *o)
{
if (o->op_latefree) {
@@ -4795,8 +4795,7 @@ S_ref_array_or_hash(pTHX_ OP *cond)
op_other if the match fails.)
*/
-STATIC
-OP *
+STATIC OP *
S_newGIVWHENOP(pTHX_ OP *cond, OP *block,
I32 enter_opcode, I32 leave_opcode,
PADOFFSET entertarg)
@@ -4850,8 +4849,7 @@ S_newGIVWHENOP(pTHX_ OP *cond, OP *block,
[*] possibly surprising
*/
-STATIC
-bool
+STATIC bool
S_looks_like_bool(pTHX_ const OP *o)
{
dVAR;