perl.h: Move some statements

So they are closer to related statements
This commit is contained in:
Karl Williamson 2020-12-08 13:11:15 -07:00
parent 19e658b84b
commit c7046d8a43

12
perl.h
View File

@ -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