7e86df
From 6c2255e0e80e0dc00c7fd96e073f1f524bbaa3e0 Mon Sep 17 00:00:00 2001
7e86df
From: Karl Williamson <khw@cpan.org>
7e86df
Date: Mon, 29 Jun 2020 09:21:24 -0600
7e86df
Subject: [PATCH] MUTABLE_PTR() Rmv non-standard syntax
7e86df
MIME-Version: 1.0
7e86df
Content-Type: text/plain; charset=UTF-8
7e86df
Content-Transfer-Encoding: 8bit
7e86df
7e86df
Variables in C are beginning with an underscore are reserved for use by
7e86df
the C implementation.  Change this non-conformant usage.
7e86df
7e86df
Signed-off-by: Petr Písař <ppisar@redhat.com>
7e86df
---
7e86df
 handy.h | 2 +-
7e86df
 1 file changed, 1 insertion(+), 1 deletion(-)
7e86df
7e86df
diff --git a/handy.h b/handy.h
7e86df
index 287e2e206d..890b2b11a2 100644
7e86df
--- a/handy.h
7e86df
+++ b/handy.h
7e86df
@@ -54,7 +54,7 @@ Null SV pointer.  (No longer available when C<PERL_CORE> is defined.)
7e86df
  */
7e86df
 
7e86df
 #if defined(__GNUC__) && !defined(PERL_GCC_BRACE_GROUPS_FORBIDDEN)
7e86df
-#  define MUTABLE_PTR(p) ({ void *_p = (p); _p; })
7e86df
+#  define MUTABLE_PTR(p) ({ void *p_ = (p); p_; })
7e86df
 #else
7e86df
 #  define MUTABLE_PTR(p) ((void *) (p))
7e86df
 #endif
7e86df
-- 
7e86df
2.25.4
7e86df