]> granicus.if.org Git - php/commitdiff
Missed localtime_r/ctime_r. Prefix them with php
authorSascha Schumann <sas@php.net>
Thu, 4 May 2000 11:31:58 +0000 (11:31 +0000)
committerSascha Schumann <sas@php.net>
Thu, 4 May 2000 11:31:58 +0000 (11:31 +0000)
main/reentrancy.c

index 5f6209b2e0695646ff47fe4fe81395e7f1996fa5..ad48ed7a127856165853b83caaf3b123b9cb3093 100644 (file)
@@ -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;