summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-06-29 09:21:24 -0600
committerKarl Williamson <khw@cpan.org>2020-07-17 21:44:08 -0600
commit6c2255e0e80e0dc00c7fd96e073f1f524bbaa3e0 (patch)
treea801357247199249f655f0fceaa5dcac4ebfba89 /handy.h
parent7d4ca04c5c923a5f9d7537da52b257a597b79742 (diff)
downloadperl-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/handy.h b/handy.h
index 287e2e206d..890b2b11a2 100644
--- a/handy.h
+++ b/handy.h
@@ -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