diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-06-18 18:56:45 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-06-19 14:08:12 -0400 |
commit | 8161153450000b2b806ca000eae18af7e430d3d9 (patch) | |
tree | a58ca2b81fa04c1b965c3575c7c97317ed2ade1f /proto.h | |
parent | a25b59276cf9505a41280bad7847c33234f7e7c6 (diff) | |
download | perl-8161153450000b2b806ca000eae18af7e430d3d9.tar.gz |
Silence -Wunused-parameter my_perl under threads.
For S_ functions, remove the context.
For Perl_ functions, add PERL_UNUSED_CONTEXT.
Tricky because sometimes depends on DEBUGGING, and sometimes
on whether we are have PERL_IMPLICIT_SYS.
(Why all the mathoms Perl_is_uni_... and Perl_is_utf8_...
functions are not being whined about is a mystery.)
vutil.c (included via util.c) has one of these, but it's cpan/,
and a known problem: https://rt.cpan.org/Ticket/Display.html?id=96100
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7724,7 +7724,7 @@ STATIC SV* S_swatch_get(pTHX_ SV* swash, UV start, UV span) #define PERL_ARGS_ASSERT_SWATCH_GET \ assert(swash) -STATIC U8 S_to_lower_latin1(pTHX_ const U8 c, U8 *p, STRLEN *lenp) +STATIC U8 S_to_lower_latin1(const U8 c, U8 *p, STRLEN *lenp) __attribute__warn_unused_result__; #endif |