summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2014-11-25 12:00:48 -0700
committerKarl Williamson <khw@cpan.org>2014-11-26 09:18:33 -0700
commit636dfd4a89e23adad94a82ddc63188837eea8a48 (patch)
tree014f9ae206400a3a4ee6afb87c06899a4d0f2296 /proto.h
parent0f602692adc580e73d2236976e9da7fec968ca93 (diff)
downloadperl-636dfd4a89e23adad94a82ddc63188837eea8a48.tar.gz
Mark is_ascii_string() as requiring looking at return value
There's no reason to call it otherwise; there are no side effects.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 01e6a22c7f..aabb5c5197 100644
--- a/proto.h
+++ b/proto.h
@@ -1869,6 +1869,7 @@ PERL_CALLCONV bool Perl_isIDFIRST_lazy(pTHX_ const char* p)
assert(p)
PERL_CALLCONV bool Perl_is_ascii_string(const U8 *s, STRLEN len)
+ __attribute__warn_unused_result__
__attribute__nonnull__(1);
#define PERL_ARGS_ASSERT_IS_ASCII_STRING \
assert(s)