little typo
| From: | Nuno Lopes | Date: | Sat, 13 Aug 2005 10:46:51 +0000 |
| Subject: | little typo | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-17951@lists.php.net to get a copy of this message | ||
Hi,
HEAD is currently broken because Wez forgot to change the datetime.h file.
Attached is a patch to fix it.
Nuno
Index: datetime.h =================================================================== RCS file: /repository/php-src/ext/standard/datetime.h,v retrieving revision 1.23 diff -u -r1.23 datetime.h --- datetime.h 3 Aug 2005 14:07:58 -0000 1.23 +++ datetime.h 13 Aug 2005 10:44:43 -0000 @@ -31,7 +31,7 @@ PHP_FUNCTION(strptime); #endif -PHPAPI int php_idate(char format, int timestamp, int gm); +PHPAPI int php_idate(char format, time_t timestamp, int gm); PHPAPI char *php_std_date(time_t t TSRMLS_DC); #endif /* DATETIME_H */
Index: datetime.h =================================================================== RCS file: /repository/php-src/ext/standard/datetime.h,v retrieving revision 1.23 diff -u -r1.23 datetime.h --- datetime.h 3 Aug 2005 14:07:58 -0000 1.23 +++ datetime.h 13 Aug 2005 10:44:43 -0000 @@ -31,7 +31,7 @@ PHP_FUNCTION(strptime); #endif -PHPAPI int php_idate(char format, int timestamp, int gm); +PHPAPI int php_idate(char format, time_t timestamp, int gm); PHPAPI char *php_std_date(time_t t TSRMLS_DC); #endif /* DATETIME_H */