This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
time64.[ch]: Inline only use of another macro
authorKarl Williamson <khw@cpan.org>
Sun, 15 Mar 2020 16:19:18 +0000 (10:19 -0600)
committerKarl Williamson <khw@cpan.org>
Thu, 19 Mar 2020 00:08:57 +0000 (18:08 -0600)
commit315d3362b22a8ecd0216505ee29f2cad0d9f3182
treeb545e726a03c289b696f70b550aa6b16599f3b2f
parent4684bf2ccbe1179cb6494d854baf7a1cd0066133
time64.[ch]: Inline only use of another macro

This macro is now only used once.  It is accessible outside perl because
it is in time64.h, but isn't used in cpan.  Remove it and place its
expansion in time64.c.

Part of the expansion called another function.  That function can be
removed and the expansion simplified, since gmtime() is now
automatically converted into gmtime_r() if available and needed.
time64.c
time64.h