From 1629a27e37c8a79d25c1709122a7bb67aeb513d7 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sun, 26 Jun 2022 09:44:26 -0600 Subject: locale: Change macro name to be C conformant C reserves leading underscores for system use; this commit fixes _CHECK_AND_WARN_PROBLEMATIC_LOCALE to be CHECK_AND_WARN_PROBLEMATIC_LOCALE_ --- pp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pp.c') diff --git a/pp.c b/pp.c index ccaf49e1d2..13eb068e02 100644 --- a/pp.c +++ b/pp.c @@ -3762,7 +3762,7 @@ PP(pp_ucfirst) #ifdef USE_LOCALE_CTYPE if (IN_LC_RUNTIME(LC_CTYPE)) { - _CHECK_AND_WARN_PROBLEMATIC_LOCALE; + CHECK_AND_WARN_PROBLEMATIC_LOCALE_; } #endif @@ -4128,7 +4128,7 @@ PP(pp_uc) #ifdef USE_LOCALE_CTYPE if (IN_LC_RUNTIME(LC_CTYPE)) { - _CHECK_AND_WARN_PROBLEMATIC_LOCALE; + CHECK_AND_WARN_PROBLEMATIC_LOCALE_; } #endif @@ -4450,7 +4450,7 @@ PP(pp_lc) if (IN_LC_RUNTIME(LC_CTYPE)) { const U8 * next_I; - _CHECK_AND_WARN_PROBLEMATIC_LOCALE; + CHECK_AND_WARN_PROBLEMATIC_LOCALE_; /* Lowercasing in a Turkic locale can cause non-UTF-8 to need to become * UTF-8 for the single case of the character 'I' */ @@ -4749,7 +4749,7 @@ PP(pp_fc) #ifdef USE_LOCALE_CTYPE if ( IN_LC_RUNTIME(LC_CTYPE) ) { /* Under locale */ - _CHECK_AND_WARN_PROBLEMATIC_LOCALE; + CHECK_AND_WARN_PROBLEMATIC_LOCALE_; } #endif -- cgit v1.2.1