Skip to content

Commit 5dc5b13

Browse files
committed
ext/date: make internal functions static
1 parent 837671e commit 5dc5b13

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
}
@@ -2962,7 +2962,7 @@ PHP_FUNCTION(date_get_last_errors)
29622962
}
29632963
/* }}} */
29642964

2965-
void php_date_do_return_parsed_time(INTERNAL_FUNCTION_PARAMETERS, timelib_time *parsed_time, timelib_error_container *error) /* {{{ */
2965+
static void php_date_do_return_parsed_time(INTERNAL_FUNCTION_PARAMETERS, timelib_time *parsed_time, timelib_error_container *error) /* {{{ */
29662966
{
29672967
zval element;
29682968

0 commit comments

Comments
 (0)