Skip to content

Commit 4c756ce

Browse files
committed
ext/date: make internal functions static
1 parent de49e62 commit 4c756ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/date/php_date.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ static timelib_tzinfo *php_date_parse_tzfile(const char *formal_tzname, const ti
502502
return tzi;
503503
}
504504

505-
timelib_tzinfo *php_date_parse_tzfile_wrapper(const char *formal_tzname, const timelib_tzdb *tzdb, int *dummy_error_code)
505+
static timelib_tzinfo *php_date_parse_tzfile_wrapper(const char *formal_tzname, const timelib_tzdb *tzdb, int *dummy_error_code)
506506
{
507507
return php_date_parse_tzfile(formal_tzname, tzdb);
508508
}
@@ -2970,7 +2970,7 @@ PHP_FUNCTION(date_get_last_errors)
29702970
}
29712971
/* }}} */
29722972

2973-
void php_date_do_return_parsed_time(INTERNAL_FUNCTION_PARAMETERS, timelib_time *parsed_time, timelib_error_container *error) /* {{{ */
2973+
static void php_date_do_return_parsed_time(INTERNAL_FUNCTION_PARAMETERS, timelib_time *parsed_time, timelib_error_container *error) /* {{{ */
29742974
{
29752975
zval element;
29762976

0 commit comments

Comments
 (0)