summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2015-02-20 09:27:16 -0700
committerKarl Williamson <khw@cpan.org>2015-02-20 09:50:22 -0700
commitd21d721596a51176df77e3dfc75028b462cf924c (patch)
tree852d4e3b4ad7440a3997eef3bc8e692c99ea3a33 /embed.h
parent6c8457e9057263b6da4b71a035d688ccda975991 (diff)
downloadperl-d21d721596a51176df77e3dfc75028b462cf924c.tar.gz
pp_pack.c: Silence compiler warning
This was introduced by 9df874cdaa2f196cc11fbd7b82a85690c243eb9f in changing the name of some static functions. I didn't realize at the time that the function was defined in embed.fnc, as none of the others are, and it was always called with the S_ prefix form. Nor did I notice the compiler warnings. It turns out that the base name of this function is the same as a public function, so I've renamed it to have prefix 'S_my_'.
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.h b/embed.h
index 58b116b843..77b867c633 100644
--- a/embed.h
+++ b/embed.h
@@ -1630,7 +1630,6 @@
#define opmethod_stash(a) S_opmethod_stash(aTHX_ a)
# endif
# if defined(PERL_IN_PP_PACK_C)
-#define bytes_to_uni S_bytes_to_uni
#define div128(a,b) S_div128(aTHX_ a,b)
#define first_symbol S_first_symbol
#define get_num(a,b) S_get_num(aTHX_ a,b)
@@ -1638,6 +1637,7 @@
#define is_an_int(a,b) S_is_an_int(aTHX_ a,b)
#define measure_struct(a) S_measure_struct(aTHX_ a)
#define mul128(a,b) S_mul128(aTHX_ a,b)
+#define my_bytes_to_utf8 S_my_bytes_to_utf8
#define need_utf8 S_need_utf8
#define next_symbol(a) S_next_symbol(aTHX_ a)
#define pack_rec(a,b,c,d) S_pack_rec(aTHX_ a,b,c,d)