aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Funck <gary@intrepid.com>2011-04-01 14:07:52 +0000
committerGary Funck <gfunck@gcc.gnu.org>2011-04-01 14:07:52 +0000
commit636b4106f693484fe21032b7acb2d0c3f43fe165 (patch)
tree7cade9583f2b0a40befb45b5148d6e7c388be529
parent72691ba6f1a07573ad6b59085177402cff184575 (diff)
downloadgcc-636b4106f693484fe21032b7acb2d0c3f43fe165.zip
gcc-636b4106f693484fe21032b7acb2d0c3f43fe165.tar.gz
gcc-636b4106f693484fe21032b7acb2d0c3f43fe165.tar.bz2
c-decl.c (grokdeclarator): Fix formatting.
2011-04-01 Gary Funck <gary@intrepid.com> * c-decl.c (grokdeclarator): Fix formatting. From-SVN: r171831
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/c-decl.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c38662a..b5f45a0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-01 Gary Funck <gary@intrepid.com>
+
+ * c-decl.c (grokdeclarator): Fix formatting.
+
2011-04-01 Richard Sandiford <richard.sandiford@linaro.org>
* expr.c (emit_block_move_via_movmem): Use n_generator_args
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 1af3d23..d54f378 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