From c7046d8a43482c8226fd9d241b6ff356e1bea540 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Tue, 8 Dec 2020 13:11:15 -0700 Subject: perl.h: Move some statements So they are closer to related statements --- perl.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'perl.h') diff --git a/perl.h b/perl.h index 2e823349d6..662d9555f7 100644 --- a/perl.h +++ b/perl.h @@ -7493,6 +7493,12 @@ cannot have changed since the precalculation. # define GETENV_UNLOCK NOOP #endif +/* Some critical sections care only that no one else is writing either the + * locale nor the environment. XXX This is for the future; in the meantime + * just use an exclusive lock */ +#define ENVr_LOCALEr_LOCK gwENVr_LOCALEr_LOCK +#define ENVr_LOCALEr_UNLOCK gwENVr_LOCALEr_UNLOCK + #ifndef PERL_NO_INLINE_FUNCTIONS /* Static inline funcs that depend on includes and declarations above. Some of these reference functions in the perl object files, and some @@ -7516,12 +7522,6 @@ END_EXTERN_C #endif -/* Some critical sections care only that no one else is writing either the - * locale nor the environment. XXX This is for the future; in the meantime - * just use an exclusive lock */ -#define ENVr_LOCALEr_LOCK gwENVr_LOCALEr_LOCK -#define ENVr_LOCALEr_UNLOCK gwENVr_LOCALEr_UNLOCK - /* =for apidoc_section $numeric -- cgit v1.2.1