All of lore.kernel.org
 help / color / mirror / Atom feed
From: HarryWei <harryxiyou@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: CodingStyle Problem
Date: Sat, 11 Dec 2010 13:36:05 +0800	[thread overview]
Message-ID: <20101211053601.GA8683@gmail.com> (raw)

Hi all,
      I just read the CodingSyle at Documentation directory in linux-2.6.23 kernel source code.
      But a problem happened to me like following.
      Functions in linux-2.6.23/fs/fs-writeback.c are "static int" and function name are in different lines.(function name in following line)
      I can't find the rule in CodingStyle. That We often program functions are "static int" and function name are in the same line. 
      When do we do the first or second way? What is different between them?

  Any answer is okay.
  Best regards.

             reply	other threads:[~2010-12-11  5:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-11  5:36 HarryWei [this message]
2010-12-11  5:53 ` CodingStyle Problem Robert P. J. Day

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101211053601.GA8683@gmail.com \
    --to=harryxiyou@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.