diff mbox

[nds32] Committed: Minor adjustment to follow GNU coding standards.

Message ID CADj25HOxn8rox+7R7bMd-zAK6KTn=UWHThMN_vxLQNPPpjP0EQ@mail.gmail.com
State New
Headers show

Commit Message

Chung-Ju Wu Feb. 14, 2014, 8:08 a.m. UTC
Hi,

In the gcc/config/nds32/nds32.c, there is one function definition which
does not follow GNU coding standards:
  http://www.gnu.org/prep/standards/standards.html
  Section "5.1 Formatting Your Source Code"

For a function definition, its function name should start in column one.
Fixed it as obvious, committed as Rev.207774.




Best regards,
jasonwucj
diff mbox

Patch

Index: gcc/ChangeLog
===================================================================
--- gcc/ChangeLog       (revision 207773)
+++ gcc/ChangeLog       (revision 207774)
@@ -1,3 +1,8 @@ 
+2014-02-14  Chung-Ju Wu  <jasonwucj@gmail.com>
+
+       * config/nds32/nds32.c (nds32_naked_function_p): Follow the
+       GNU coding standards.
+
 2014-02-13  Jakub Jelinek  <jakub@redhat.com>

        PR debug/60152


Index: gcc/config/nds32/nds32.c
===================================================================
--- gcc/config/nds32/nds32.c    (revision 207773)
+++ gcc/config/nds32/nds32.c    (revision 207774)
@@ -1445,7 +1445,8 @@ 
 }

 /* Return true if FUNC is a naked function.  */
-static bool nds32_naked_function_p (tree func)
+static bool
+nds32_naked_function_p (tree func)
 {
   tree t;