mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
'const' is problematic in code in the final section of a Bison file (Bison defines
it away)
This commit is contained in:
parent
adfbf4a92f
commit
ae49ebf198
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue