Skip to content

Commit f9226d0

Browse files
committed
ext/date: make internal functions static
1 parent 48fe22e commit f9226d0

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
}
@@ -2868,7 +2868,7 @@ PHP_FUNCTION(date_get_last_errors)
28682868
}
28692869
/* }}} */
28702870

2871-
void php_date_do_return_parsed_time(INTERNAL_FUNCTION_PARAMETERS, timelib_time *parsed_time, timelib_error_container *error) /* {{{ */
2871+
static void php_date_do_return_parsed_time(INTERNAL_FUNCTION_PARAMETERS, timelib_time *parsed_time, timelib_error_container *error) /* {{{ */
28722872
{
28732873
zval element;
28742874

0 commit comments

Comments
 (0)