summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-05-29 14:49:57 -0600
committerKarl Williamson <khw@cpan.org>2019-05-30 18:13:29 -0600
commitfb49ac4495a8cff9430c5c4313ae8f9d6665650e (patch)
tree1361f706cbd446e52eac1a74adeed8a893014e45 /perl.h
parente4aeb12f0611f53a3b2e82d7d97bc9ab2a094b55 (diff)
downloadperl-fb49ac4495a8cff9430c5c4313ae8f9d6665650e.tar.gz
Let embed.fnc define the my_str_foo() fcns
We don't always define a Perl_ form for these, expecting all calls to be made through the macro, which will use the native form on the systems that have one. Removing these extra #defines helps future commits
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/perl.h b/perl.h
index 06f62b1a4f..04ff997e05 100644
--- a/perl.h
+++ b/perl.h
@@ -1675,8 +1675,6 @@ EXTERN_C char *crypt(const char *, const char *);
#ifdef HAS_STRLCAT
# define my_strlcat strlcat
-#else
-# define my_strlcat Perl_my_strlcat
#endif
#if defined(PERL_CORE) || defined(PERL_EXT)
@@ -1689,14 +1687,10 @@ EXTERN_C char *crypt(const char *, const char *);
#ifdef HAS_STRLCPY
# define my_strlcpy strlcpy
-#else
-# define my_strlcpy Perl_my_strlcpy
#endif
#ifdef HAS_STRNLEN
# define my_strnlen strnlen
-#else
-# define my_strnlen Perl_my_strnlen
#endif
/*