diff options
author | Gary Funck <gary@intrepid.com> | 2011-04-01 14:07:52 +0000 |
---|---|---|
committer | Gary Funck <gfunck@gcc.gnu.org> | 2011-04-01 14:07:52 +0000 |
commit | 636b4106f693484fe21032b7acb2d0c3f43fe165 (patch) | |
tree | 7cade9583f2b0a40befb45b5148d6e7c388be529 /gcc/c-decl.c | |
parent | 72691ba6f1a07573ad6b59085177402cff184575 (diff) | |
download | gcc-636b4106f693484fe21032b7acb2d0c3f43fe165.tar.gz |
c-decl.c (grokdeclarator): Fix formatting.
2011-04-01 Gary Funck <gary@intrepid.com>
* c-decl.c (grokdeclarator): Fix formatting.
From-SVN: r171831
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 1af3d23b677..d54f37853b2 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -5450,7 +5450,7 @@ grokdeclarator (const struct c_declarator *declarator, } } - /* 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_declarator *declarator, 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 |