From: Jarkko Hietaniemi Date: Thu, 19 Apr 2001 02:41:10 +0000 (+0000) Subject: The new time utils need to be thread-aware, too. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f120891071b92048ee3b9c8c45de09079fba6cba;p=p5sagit%2Fp5-mst-13.2.git The new time utils need to be thread-aware, too. p4raw-id: //depot/perl@9752 --- diff --git a/util.c b/util.c index 4ccd589..99470a7 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;