From: Cyril Roelandt <tipecaml@gmail.com>
To: kernel-janitors@vger.kernel.org
Subject: [PATCH 3/3] staging: lustre: fix non-ANSI function prototypes.
Date: Sat, 10 Aug 2013 00:32:46 +0000 [thread overview]
Message-ID: <1376094766-9175-4-git-send-email-tipecaml@gmail.com> (raw)
Add "void" to ksocknal_lib_tunables_init(), lwt_init() and lwt_fini(), which
are parameterless functions;
Signed-off-by: Cyril Roelandt <tipecaml@gmail.com>
---
drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib-linux.c | 2 +-
drivers/staging/lustre/lustre/libcfs/lwt.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib-linux.c b/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib-linux.c
index a1c6a51..5ccb7c4 100644
--- a/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib-linux.c
+++ b/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib-linux.c
@@ -296,7 +296,7 @@ ctl_table_t ksocknal_top_ctl_table[] = {
};
int
-ksocknal_lib_tunables_init ()
+ksocknal_lib_tunables_init(void)
{
if (!*ksocknal_tunables.ksnd_typed_conns) {
int rc = -EINVAL;
diff --git a/drivers/staging/lustre/lustre/libcfs/lwt.c b/drivers/staging/lustre/lustre/libcfs/lwt.c
index b631f7d..e21eb86 100644
--- a/drivers/staging/lustre/lustre/libcfs/lwt.c
+++ b/drivers/staging/lustre/lustre/libcfs/lwt.c
@@ -173,7 +173,7 @@ lwt_snapshot (cfs_cycles_t *now, int *ncpu, int *total_size,
}
int
-lwt_init ()
+lwt_init(void)
{
int i;
int j;
@@ -230,7 +230,7 @@ lwt_init ()
}
void
-lwt_fini ()
+lwt_fini(void)
{
int i;
--
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-4-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