diff options
author | Karl Williamson <khw@cpan.org> | 2020-06-29 09:21:24 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-07-17 21:44:08 -0600 |
commit | 6c2255e0e80e0dc00c7fd96e073f1f524bbaa3e0 (patch) | |
tree | a801357247199249f655f0fceaa5dcac4ebfba89 /handy.h | |
parent | 7d4ca04c5c923a5f9d7537da52b257a597b79742 (diff) | |
download | perl-6c2255e0e80e0dc00c7fd96e073f1f524bbaa3e0.tar.gz |
MUTABLE_PTR() Rmv non-standard syntax
Variables in C are beginning with an underscore are reserved for use by
the C implementation. Change this non-conformant usage.
Diffstat (limited to 'handy.h')
-rw-r--r-- | handy.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ Null SV pointer. (No longer available when C<PERL_CORE> is defined.) */ #if defined(__GNUC__) && !defined(PERL_GCC_BRACE_GROUPS_FORBIDDEN) -# define MUTABLE_PTR(p) ({ void *_p = (p); _p; }) +# define MUTABLE_PTR(p) ({ void *p_ = (p); p_; }) #else # define MUTABLE_PTR(p) ((void *) (p)) #endif |