cvs: /php4/ext/standard datetime.c
| From: | Sascha Schumann | Date: | Sat, 01 Jan 2000 20:51:08 +0000 |
| Subject: | cvs: /php4/ext/standard datetime.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-8773@lists.php.net to get a copy of this message | ||
sas Sat Jan 1 15:51:08 2000 EDT
Modified files:
/php4/ext/standard datetime.c
Log:
Remove second (equal) definition of isleap()
Index: php4/ext/standard/datetime.c
diff -u php4/ext/standard/datetime.c:1.27 php4/ext/standard/datetime.c:1.28
--- php4/ext/standard/datetime.c:1.27 Fri Dec 31 21:22:01 1999
+++ php4/ext/standard/datetime.c Sat Jan 1 15:50:37 2000
@@ -19,7 +19,7 @@
*/
-/* $Id: datetime.c,v 1.27 2000/01/01 02:22:01 sas Exp $ */
+/* $Id: datetime.c,v 1.28 2000/01/01 20:50:37 sas Exp $ */
#include "php.h"
@@ -509,7 +509,6 @@
* returns True(1) if it is valid date
*
*/
-#define isleap(year) (((year%4) == 0 && (year%100)!=0) || (year%400)==0)
PHP_FUNCTION(checkdate)
{
pval **month, **day, **year;