зеркало из https://github.com/github/ruby.git
Prefer ANSI-style prototypes over old K&R-style definitions
This commit is contained in:
Родитель
e5319dc985
Коммит
33844f3096
|
@ -140,7 +140,7 @@ char *nl_langinfo(nl_item item)
|
|||
|
||||
#ifdef TEST
|
||||
#include <stdio.h>
|
||||
int main()
|
||||
int main(void)
|
||||
{
|
||||
printf("%s\n", nl_langinfo(CODESET));
|
||||
return 0;
|
||||
|
|
4
thread.c
4
thread.c
|
@ -5751,7 +5751,7 @@ rb_set_coverages(VALUE coverages, int mode, VALUE me2counter)
|
|||
}
|
||||
|
||||
void
|
||||
rb_resume_coverages()
|
||||
rb_resume_coverages(void)
|
||||
{
|
||||
int mode = GET_VM()->coverage_mode;
|
||||
VALUE me2counter = GET_VM()->me2counter;
|
||||
|
@ -5765,7 +5765,7 @@ rb_resume_coverages()
|
|||
}
|
||||
|
||||
void
|
||||
rb_suspend_coverages()
|
||||
rb_suspend_coverages(void)
|
||||
{
|
||||
rb_remove_event_hook((rb_event_hook_func_t) update_line_coverage);
|
||||
if (GET_VM()->coverage_mode & COVERAGE_TARGET_BRANCHES) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче