summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-04-19 02:41:10 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-04-19 02:41:10 +0000
commitf120891071b92048ee3b9c8c45de09079fba6cba (patch)
tree4c79fc8948192cb9399c01a589282fbd2298ef5e /util.c
parentaf48980719461555feaeae2056f887abcdb12e17 (diff)
downloadperl-f120891071b92048ee3b9c8c45de09079fba6cba.tar.gz
The new time utils need to be thread-aware, too.
p4raw-id: //depot/perl@9752
Diffstat (limited to 'util.c')
-rw-r--r--util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util.c b/util.c
index 4ccd589ecd..99470a74a1 100644
--- a/util.c
+++ b/util.c
@@ -4156,7 +4156,7 @@ char *tzname[] = { "" , "" };
#endif
void
-init_tm(struct tm *ptm) /* see mktime, strftime and asctime */
+Perl_init_tm(pTHX_ struct tm *ptm) /* see mktime, strftime and asctime */
{
#ifdef STRUCT_TM_HASZONE
Time_t now;
@@ -4170,7 +4170,7 @@ init_tm(struct tm *ptm) /* see mktime, strftime and asctime */
* semantics (and overhead) of mktime().
*/
void
-mini_mktime(struct tm *ptm)
+Perl_mini_mktime(pTHX_ struct tm *ptm)
{
int yearday;
int secs;
@@ -4363,7 +4363,7 @@ mini_mktime(struct tm *ptm)
}
char *
-my_strftime(char *fmt, int sec, int min, int hour, int mday, int mon, int year, int wday, int yday, int isdst)
+Perl_my_strftime(pTHX_ char *fmt, int sec, int min, int hour, int mday, int mon, int year, int wday, int yday, int isdst)
{
#ifdef HAS_STRFTIME
char *buf;