summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-10-13 11:41:36 +0100
committerNicholas Clark <nick@ccl4.org>2009-10-13 11:41:36 +0100
commit26c7b074d5d3f0a79fab5f1c4eb28f38e81b88d2 (patch)
tree7c097647e44e1b39f6ae15c9c9d15f3673e478d9 /embed.h
parentad287e37d27b33d67ab22c0c8a7294f1eb467342 (diff)
downloadperl-26c7b074d5d3f0a79fab5f1c4eb28f38e81b88d2.tar.gz
Migrate common code in Perl_ckwarn() and Perl_ckwarn_d() to S_ckwarn_common()
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/embed.h b/embed.h
index fa901934dd..61780eeddb 100644
--- a/embed.h
+++ b/embed.h
@@ -1885,6 +1885,11 @@
#endif
#ifdef PERL_DONT_CREATE_GVSV
#endif
+#if defined(PERL_IN_UTIL_C) || defined(PERL_DECL_PROT)
+#ifdef PERL_CORE
+#define ckwarn_common S_ckwarn_common
+#endif
+#endif
#ifdef PERL_CORE
#define offer_nice_chunk Perl_offer_nice_chunk
#endif
@@ -4243,6 +4248,11 @@
#endif
#ifdef PERL_DONT_CREATE_GVSV
#endif
+#if defined(PERL_IN_UTIL_C) || defined(PERL_DECL_PROT)
+#ifdef PERL_CORE
+#define ckwarn_common(a) S_ckwarn_common(aTHX_ a)
+#endif
+#endif
#if defined(PERL_CORE) || defined(PERL_EXT)
#endif
#ifdef PERL_CORE