Fix strict prototypes warnings

This commit is contained in:
Ilija Tovilo 2023-02-17 15:14:30 +01:00
parent e6efd7d9ee
commit 7c3b92fc91
No known key found for this signature in database
GPG Key ID: A4F5D403F118200A
2 changed files with 2 additions and 2 deletions

View File

@ -779,7 +779,7 @@ TSRM_API const char *tsrm_api_name(void)
#endif
}/*}}}*/
TSRM_API bool tsrm_is_managed_thread()
TSRM_API bool tsrm_is_managed_thread(void)
{/*{{{*/
return tsrm_tls_get() ? true : false;
}/*}}}*/

View File

@ -370,7 +370,7 @@ PHP_JSON_API int php_json_parse(php_json_parser *parser)
return php_json_yyparse(parser);
}
const php_json_parser_methods* php_json_get_validate_methods()
const php_json_parser_methods* php_json_get_validate_methods(void)
{
return &validate_parser_methods;
}