Skip to content

Commit 7c3b92f

Browse files
committed
Fix strict prototypes warnings
1 parent e6efd7d commit 7c3b92f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

TSRM/TSRM.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ TSRM_API const char *tsrm_api_name(void)
779779
#endif
780780
}/*}}}*/
781781

782-
TSRM_API bool tsrm_is_managed_thread()
782+
TSRM_API bool tsrm_is_managed_thread(void)
783783
{/*{{{*/
784784
return tsrm_tls_get() ? true : false;
785785
}/*}}}*/

ext/json/json_parser.y

+1-1
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ PHP_JSON_API int php_json_parse(php_json_parser *parser)
370370
return php_json_yyparse(parser);
371371
}
372372

373-
const php_json_parser_methods* php_json_get_validate_methods()
373+
const php_json_parser_methods* php_json_get_validate_methods(void)
374374
{
375375
return &validate_parser_methods;
376376
}

0 commit comments

Comments
 (0)