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 /embed.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 'embed.h')
-rw-r--r-- | embed.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1708,7 +1708,7 @@ #define is_utf8_common(a,b,c,d) S_is_utf8_common(aTHX_ a,b,c,d) #define swash_scan_list_line(a,b,c,d,e,f,g) S_swash_scan_list_line(aTHX_ a,b,c,d,e,f,g) #define swatch_get(a,b,c) S_swatch_get(aTHX_ a,b,c) -#define to_lower_latin1(a,b,c) S_to_lower_latin1(aTHX_ a,b,c) +#define to_lower_latin1 S_to_lower_latin1 # endif # if defined(PERL_IN_UTF8_C) || defined(PERL_IN_PP_C) #define _to_upper_title_latin1(a,b,c,d) Perl__to_upper_title_latin1(aTHX_ a,b,c,d) |