public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, nds32] Committed: Minor adjustment to follow GNU coding standards.
@ 2014-02-14  8:08 Chung-Ju Wu
  0 siblings, 0 replies; only message in thread
From: Chung-Ju Wu @ 2014-02-14  8:08 UTC (permalink / raw)
  To: gcc patches

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.


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;



Best regards,
jasonwucj

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-02-14  8:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-14  8:08 [PATCH, nds32] Committed: Minor adjustment to follow GNU coding standards Chung-Ju Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).