]> granicus.if.org Git - php/commitdiff
Make parsedate build again
authorStanislav Malyshev <stas@php.net>
Wed, 23 Aug 2000 10:54:13 +0000 (10:54 +0000)
committerStanislav Malyshev <stas@php.net>
Wed, 23 Aug 2000 10:54:13 +0000 (10:54 +0000)
# 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

ext/standard/php_parsedate.h

index 0e171768a98a07ad32e2df1794a39cda4feb4979..63d61863ccff8cd20cb7c16b4a7eb4bbec9b5c70 100644 (file)
@@ -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