summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-12-23 05:06:54 -0700
committerYves Orton <demerphq@gmail.com>2023-01-04 10:59:40 +0100
commita2887f2772e70a589141ab27c29a0b324260ce76 (patch)
treef9b105c2c2425d6621ca74840acd54ffc3511f5b /proto.h
parent01a4a6089e5123dac13f1d1eeae071fc6cec251b (diff)
downloadperl-a2887f2772e70a589141ab27c29a0b324260ce76.tar.gz
Revert "Revert "Inline strlcat(), strlcpy()""
This reverts commit 81620fbedd5f5cb87f240d7809dc669cd60d0139. The original commit was wrongly blamed for breakage, when it was the harness parallelism that was at fault; since fixed, mostly.
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 5b32d50faa..869bd52d2a 100644
--- a/proto.h
+++ b/proto.h
@@ -5543,13 +5543,13 @@ Perl_PerlSock_socket_cloexec(pTHX_ int domain, int type, int protocol)
#endif /* defined(HAS_SOCKET) */
#if !defined(HAS_STRLCAT)
-PERL_CALLCONV Size_t
+STATIC Size_t
Perl_my_strlcat(char *dst, const char *src, Size_t size);
# define PERL_ARGS_ASSERT_MY_STRLCAT
#endif /* !defined(HAS_STRLCAT) */
#if !defined(HAS_STRLCPY)
-PERL_CALLCONV Size_t
+STATIC Size_t
Perl_my_strlcpy(char *dst, const char *src, Size_t size);
# define PERL_ARGS_ASSERT_MY_STRLCPY