求助:出现错误multiple storage classes in declaration of 'rdbmsState'
开发语言: C
操作系统:UNIX
我在文件a.c中使用了"static int rdbmsState = 0;",在另外一个文件b.c中使用了
"extern static int rdbmsState;",但是编译时出现如下错误:
b.c:172: multiple storage classes in declaration of `rdbmsState'
*** Error code 1
make: Fatal error: Command failed for target `b.o'
请赐教如何修改。
谢谢!