cvs: php4 /ext/standard php_parsedate.h
| From: | Stanislav Malyshev | Date: | Wed, 23 Aug 2000 10:54:14 +0000 |
| Subject: | cvs: php4 /ext/standard php_parsedate.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1336@lists.php.net to get a copy of this message | ||
stas Wed Aug 23 03:54:14 2000 EDT
Modified files:
/php4/ext/standard php_parsedate.h
Log:
Make parsedate build again
# I do not really know what's the problem with const, but I do know
# it doesn't compile when declaration and definition don't match
Index: php4/ext/standard/php_parsedate.h
diff -u php4/ext/standard/php_parsedate.h:1.1 php4/ext/standard/php_parsedate.h:1.2
--- php4/ext/standard/php_parsedate.h:1.1 Mon Aug 21 02:50:52 2000
+++ php4/ext/standard/php_parsedate.h Wed Aug 23 03:54:13 2000
@@ -21,6 +21,6 @@
#include <time.h>
-time_t parse_date(const char *p, const time_t *now);
+time_t parse_date(char *p, time_t *now);
#endif