summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2023-04-30 20:36:56 -0600
committerKarl Williamson <khw@cpan.org>2023-05-01 06:40:14 -0600
commit5f951aa0d5804e69ae58fd3c1619b26a5abb3c13 (patch)
treef39f2a624742c7719d3c27e92714cd09165b9c79 /proto.h
parent265a3a4170eb43b0731b6ebd8f14bb25b02cd2e5 (diff)
downloadperl-5f951aa0d5804e69ae58fd3c1619b26a5abb3c13.tar.gz
Remove my_strftime8()
The comment from Tony Cook https://github.com/Perl/perl5/issues/20373#issuecomment-1524256091 made me realize that this function doesn't fully work. It was added as public API earlier in the 5.37 series, but we don't want it making it into a stable release. This commit renames it so that the original name will no longer work, but POSIX.xs can still, by changing to use the new name.name
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 7f3967fa09..15bb8df97e 100644
--- a/proto.h
+++ b/proto.h
@@ -2669,9 +2669,9 @@ Perl_my_strftime(pTHX_ const char *fmt, int sec, int min, int hour, int mday, in
assert(fmt)
PERL_CALLCONV char *
-Perl_my_strftime8(pTHX_ const char *fmt, int sec, int min, int hour, int mday, int mon, int year, int wday, int yday, int isdst, utf8ness_t *utf8ness)
+Perl_my_strftime8_temp(pTHX_ const char *fmt, int sec, int min, int hour, int mday, int mon, int year, int wday, int yday, int isdst, utf8ness_t *utf8ness)
__attribute__format__(__strftime__,pTHX_1,0);
-#define PERL_ARGS_ASSERT_MY_STRFTIME8 \
+#define PERL_ARGS_ASSERT_MY_STRFTIME8_TEMP \
assert(fmt)
PERL_CALLCONV NV