summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-03-29 12:39:39 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-03-29 12:39:39 +0000
commit1cb0ed9b77e4ba2e0bcbeb9a897574a0fe3f3e52 (patch)
treea69b14ce28e454242ff7fe099eaaa1ce0266bbd2 /op.c
parent06b5626a89944244c0525ddbf02b7279497dc8e6 (diff)
downloadperl-1cb0ed9b77e4ba2e0bcbeb9a897574a0fe3f3e52.tar.gz
Downconst external APIs
p4raw-id: //depot/perl@24095
Diffstat (limited to 'op.c')
-rw-r--r--op.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/op.c b/op.c
index 8107a84c7e..02d4f17c88 100644
--- a/op.c
+++ b/op.c
@@ -7018,9 +7018,8 @@ Perl_peep(pTHX_ register OP *o)
LEAVE;
}
-
-
-const char* Perl_custom_op_name(pTHX_ const OP* o)
+char*
+Perl_custom_op_name(pTHX_ const OP* o)
{
const IV index = PTR2IV(o->op_ppaddr);
SV* keysv;
@@ -7038,7 +7037,8 @@ const char* Perl_custom_op_name(pTHX_ const OP* o)
return SvPV_nolen(HeVAL(he));
}
-const char* Perl_custom_op_desc(pTHX_ const OP* o)
+char*
+Perl_custom_op_desc(pTHX_ const OP* o)
{
const IV index = PTR2IV(o->op_ppaddr);
SV* keysv;
@@ -7056,7 +7056,6 @@ const char* Perl_custom_op_desc(pTHX_ const OP* o)
return SvPV_nolen(HeVAL(he));
}
-
#include "XSUB.h"
/* Efficient sub that returns a constant scalar value. */