summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorMarcus Holland-Moritz <mhx-perl@gmx.net>2008-10-24 21:38:48 +0000
committerMarcus Holland-Moritz <mhx-perl@gmx.net>2008-10-24 21:38:48 +0000
commitbef8a12803580c2fb97a03ebe6e7df3e52cd10bf (patch)
tree4a4e9998c4f636e56fe735950a81331848e72bf2 /proto.h
parent4975ecc97f5a7eeb6562945448dc3c62a52309d4 (diff)
downloadperl-bef8a12803580c2fb97a03ebe6e7df3e52cd10bf.tar.gz
Make C++ compilers happy #1: "typename" is a C++ keyword.
p4raw-id: //depot/perl@34574
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto.h b/proto.h
index 29d1b81178..3ad89f2f8e 100644
--- a/proto.h
+++ b/proto.h
@@ -5888,12 +5888,12 @@ STATIC char * S_write_no_mem(pTHX)
__attribute__noreturn__;
#if defined(PERL_MEM_LOG) && defined(PERL_MEM_LOG_STDERR)
-STATIC void S_mem_log_common(enum mem_log_type mlt, const UV n, const UV typesize, const char *typename, const SV *sv, Malloc_t oldalloc, Malloc_t newalloc, const char *filename, const int linenumber, const char *funcname)
+STATIC void S_mem_log_common(enum mem_log_type mlt, const UV n, const UV typesize, const char *type_name, const SV *sv, Malloc_t oldalloc, Malloc_t newalloc, const char *filename, const int linenumber, const char *funcname)
__attribute__nonnull__(4)
__attribute__nonnull__(8)
__attribute__nonnull__(10);
#define PERL_ARGS_ASSERT_MEM_LOG_COMMON \
- assert(typename); assert(filename); assert(funcname)
+ assert(type_name); assert(filename); assert(funcname)
#endif
#endif