diff options
author | Zeev Suraski <zeev@php.net> | 2000-08-22 20:59:26 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2000-08-22 20:59:26 +0000 |
commit | ae49ebf19881753d171fb546b2cfa5998f0846b6 (patch) | |
tree | 9fa22a68d16c963da77fc1092da25aae0c2c0d6c /ext | |
parent | adfbf4a92f4620a1549fd510e3e15f442f253ca6 (diff) | |
download | php-git-ae49ebf19881753d171fb546b2cfa5998f0846b6.tar.gz |
'const' is problematic in code in the final section of a Bison file (Bison defines
it away)
Diffstat (limited to 'ext')
-rw-r--r-- | ext/standard/parsedate.y | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/standard/parsedate.y b/ext/standard/parsedate.y index 875d348335..e048d24543 100644 --- a/ext/standard/parsedate.y +++ b/ext/standard/parsedate.y @@ -452,7 +452,7 @@ o_merid : /* NULL */ %% -time_t get_date (const char *p, const time_t *now); +time_t get_date (char *p, time_t *now); #ifndef PHP_WIN32 extern struct tm *gmtime(); @@ -903,8 +903,7 @@ difftm (struct tm *a, struct tm *b) + (a->tm_sec - b->tm_sec)); } -time_t -parse_date (const char *p, const time_t *now) +time_t parse_date(char *p, time_t *now) { struct tm tm, tm0, *tmp; time_t Start; |