From f2a236ff83797abf16418ad23448a374feb7b57d Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Thu, 4 May 2000 11:31:58 +0000 Subject: [PATCH] Missed localtime_r/ctime_r. Prefix them with php --- main/reentrancy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/reentrancy.c b/main/reentrancy.c index 5f6209b2e06..ad48ed7a127 100644 --- a/main/reentrancy.c +++ b/main/reentrancy.c @@ -80,7 +80,7 @@ PHPAPI struct tm *php_gmtime_r(const time_t *const timep, struct tm *p_tm) #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 @@ PHPAPI struct tm *localtime_r(const time_t *const timep, struct tm *p_tm) #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;