少なくとも 1 つの型指示子を、各宣言の宣言指示子で指定します。「D.1.6 暗黙の int および暗黙の関数宣言の禁止」も参照してください。
暗黙の int 宣言を使用した場合は、C コンパイラは次の例のように警告を生成します。
example% more test.c volatile i; const foo() { return i; } example% cc test.c "test.c", line 1: warning: no explicit type given "test.c", line 3: warning: no explicit type given example% |