summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-12-08 13:11:15 -0700
committerKarl Williamson <khw@cpan.org>2022-09-29 13:08:27 -0600
commitc7046d8a43482c8226fd9d241b6ff356e1bea540 (patch)
tree2f388a95b6ecc7e388c2ea5b7675660e7527081e /perl.h
parent19e658b84b2f1a1e5a15782b8a6736c1f1065b45 (diff)
downloadperl-c7046d8a43482c8226fd9d241b6ff356e1bea540.tar.gz
perl.h: Move some statements
So they are closer to related statements
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h12
1 files changed, 6 insertions, 6 deletions
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