Skip to content

Commit 664c1d1

Browse files
authored
Fix: add missing PHPAPI (#15142)
Issue introduced in commit 5905857 from PR #14833
1 parent e0a2e2e commit 664c1d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/standard/math.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ PHP_FUNCTION(floor)
304304
}
305305
/* }}} */
306306

307-
int php_math_round_mode_from_enum(zend_object *mode)
307+
PHPAPI int php_math_round_mode_from_enum(zend_object *mode)
308308
{
309309
zval *case_name = zend_enum_fetch_case_name(mode);
310310
zend_string *mode_name = Z_STR_P(case_name);

ext/standard/php_math_round_mode.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@
5252

5353
extern PHPAPI zend_class_entry *rounding_mode_ce;
5454

55-
int php_math_round_mode_from_enum(zend_object *mode);
55+
PHPAPI int php_math_round_mode_from_enum(zend_object *mode);

0 commit comments

Comments
 (0)