mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
Fix strict prototypes warnings
This commit is contained in:
parent
e6efd7d9ee
commit
7c3b92fc91
@ -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;
|
||||
}/*}}}*/
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user