public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
From: Cyril Roelandt <tipecaml@gmail.com>
To: kernel-janitors@vger.kernel.org
Subject: [PATCH 0/3] staging: fix non-ANSI function prototypes.
Date: Sat, 10 Aug 2013 00:32:43 +0000	[thread overview]
Message-ID: <1376094766-9175-1-git-send-email-tipecaml@gmail.com> (raw)

Add "void" to parameterless function prototypes.

Found using the following semantic patch:

<smpl>
@@
identifier f;
@@
-f()
+f(void)
{
...
}
</smpl>

Regards,
Cyril Roelandt.
---

Cyril Roelandt (3):
  staging: usbip: fix non-ANSI function prototypes.
  staging: ced1401: fix non-ANSI function prototype.
  staging: lustre: fix non-ANSI function prototypes.

 drivers/staging/ced1401/userspace/use1401.c                   | 2 +-
 drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib-linux.c | 2 +-
 drivers/staging/lustre/lustre/libcfs/lwt.c                    | 4 ++--
 drivers/staging/usbip/userspace/libsrc/usbip_common.c         | 2 +-
 drivers/staging/usbip/userspace/libsrc/vhci_driver.c          | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

-- 
1.8.3.1


                 reply	other threads:[~2013-08-10  0:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1376094766-9175-1-git-send-email-tipecaml@gmail.com \
    --to=tipecaml@gmail.com \
    --cc=kernel-janitors@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox