声明定义R-1-1-16强制
禁止外部声明变量的类型与定义不一致
外部声明的变量类型与定义不一致
data.c
1int the_foo = 0;
test.c
1extern float the_foo;禁止外部声明变量的类型与定义不一致 [gjb8114-r-1-1-16]
外部声明的变量类型与定义一致
data.c
1int the_foo = 0;
test.c
1extern int the_foo;