summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2016-03-11 16:22:49 -0700
committerKarl Williamson <khw@cpan.org>2016-03-17 21:31:03 -0600
commitfea1d2dd5d210564d442a09fe034b62f262f35f9 (patch)
treef6ce46c0c616f6e619a2e038777768398e070c2a /proto.h
parentd708a1fbecea9996703282b58186c8bb4e429663 (diff)
downloadperl-fea1d2dd5d210564d442a09fe034b62f262f35f9.tar.gz
Make instr() a macro
... thus avoiding a function call overhead
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 0de5c31cf9..88078676d6 100644
--- a/proto.h
+++ b/proto.h
@@ -1244,9 +1244,9 @@ PERL_CALLCONV void Perl_init_stacks(pTHX);
PERL_CALLCONV void Perl_init_tm(pTHX_ struct tm *ptm);
#define PERL_ARGS_ASSERT_INIT_TM \
assert(ptm)
-PERL_CALLCONV char* Perl_instr(const char* big, const char* little)
+/* PERL_CALLCONV char* Perl_instr(const char* big, const char* little)
__attribute__warn_unused_result__
- __attribute__pure__;
+ __attribute__pure__; */
#define PERL_ARGS_ASSERT_INSTR \
assert(big); assert(little)