Index: ChangeLog =================================================================== --- ChangeLog (revision 171815) +++ ChangeLog (working copy) @@ -1,3 +1,7 @@ +2011-04-01 Gary Funck + + * c-decl.c (grokdeclarator): Fix formatting. + 2011-03-31 Joseph Myers * opts.h (cl_option): Add comments to fields. Add bit-fields for Index: c-decl.c =================================================================== --- c-decl.c (revision 171815) +++ c-decl.c (working copy) @@ -5450,7 +5450,7 @@ grokdeclarator (const struct c_declarato } } - /* Complain about arrays of incomplete types. */ + /* Complain about arrays of incomplete types. */ if (!COMPLETE_TYPE_P (type)) { error_at (loc, "array type has incomplete element type"); @@ -5936,7 +5936,7 @@ grokdeclarator (const struct c_declarato if (storage_class == csc_register || threadp) { error_at (loc, "invalid storage class for function %qE", name); - } + } else if (current_scope != file_scope) { /* Function declaration not at file scope. Storage