Skip to content

Commit 12c4100

Browse files
committed
Fix [-Wstrict-prototypes] warning in main
1 parent 72833a2 commit 12c4100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/php.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handli
331331
{
332332
zend_replace_error_handling(error_handling, exception_class, NULL);
333333
}
334-
static inline ZEND_ATTRIBUTE_DEPRECATED void php_std_error_handling() {}
334+
static inline ZEND_ATTRIBUTE_DEPRECATED void php_std_error_handling(void) {}
335335

336336
PHPAPI ZEND_COLD void php_verror(const char *docref, const char *params, int type, const char *format, va_list args) PHP_ATTRIBUTE_FORMAT(printf, 4, 0);
337337

0 commit comments

Comments
 (0)