summaryrefslogtreecommitdiff
path: root/embed.fnc
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.fnc
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.fnc')
-rw-r--r--embed.fnc2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index 5aa11c72e0..26d3511234 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -2030,7 +2030,7 @@ sR |const char *|get_num |NN const char *patptr|NN I32 *lenptr
ns |bool |need_utf8 |NN const char *pat|NN const char *patend
ns |char |first_symbol |NN const char *pat|NN const char *patend
sR |char * |sv_exp_grow |NN SV *sv|STRLEN needed
-snR |char * |bytes_to_uni |NN const U8 *start|STRLEN len|NN char *dest \
+snR |char * |my_bytes_to_utf8|NN const U8 *start|STRLEN len|NN char *dest \
|const bool needs_swap
#endif