声明定义R-1-1-17强制

禁止函数体内 extern 声明

函数体内 extern 声明
data.c
1int the_var = 0;
2void foo(int x)
3{
4}
test.c
1void bar(void)
2{
3 extern int the_var;
禁止函数体内 extern 声明 [gjb8114-r-1-1-17]
4 extern void foo(int x);
禁止函数体内 extern 声明 [gjb8114-r-1-1-17]
5}