Skip to content

Commit

Permalink
perl.h: Move some statements
Browse files Browse the repository at this point in the history
So they are closer to related statements
  • Loading branch information
khwilliamson committed Apr 29, 2021
1 parent 35e4c6e commit f2cefdc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions perl.h
Expand Up @@ -7177,6 +7177,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
Expand All @@ -7198,12 +7204,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

#define Atof my_atof

/*
Expand Down

0 comments on commit f2cefdc

Please sign in to comment.