函数调用R-1-7-6强制

禁止函数声明和定义的返回值类型不一致

重合: #R-1-1-14

函数声明和定义的返回值类型不一致
test.c
1int foo(int x);
禁止函数声明和定义的返回值类型不一致 [gjb8114-r-1-7-6]
2
3void foo(int x)
4{
5}
函数声明和定义的返回值类型一致
test.c
1void foo(int x);
2
3void foo(int x)
4{
5}