cvs: /php4 reentrancy.c
| From: | Sascha Schumann | Date: | Thu, 04 May 2000 11:31:58 +0000 |
| Subject: | cvs: /php4 reentrancy.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-14459@lists.php.net to get a copy of this message | ||
sas Thu May 4 04:31:58 2000 EDT
Modified files:
/php4 reentrancy.c
Log:
Missed localtime_r/ctime_r. Prefix them with php
Index: php4/reentrancy.c
diff -u php4/reentrancy.c:1.13 php4/reentrancy.c:1.14
--- php4/reentrancy.c:1.13 Thu May 4 03:38:12 2000
+++ php4/reentrancy.c Thu May 4 04:31:58 2000
@@ -80,7 +80,7 @@
#if !defined(HAVE_LOCALTIME_R) && defined(HAVE_LOCALTIME)
-PHPAPI struct tm *localtime_r(const time_t *const timep, struct tm *p_tm)
+PHPAPI struct tm *php_localtime_r(const time_t *const timep, struct tm *p_tm)
{
struct tm *tmp;
@@ -101,7 +101,7 @@
#if !defined(HAVE_CTIME_R) && defined(HAVE_CTIME)
-PHPAPI char *ctime_r(const time_t *clock, char *buf)
+PHPAPI char *php_ctime_r(const time_t *clock, char *buf)
{
char *tmp;