From: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
To: fstests@vger.kernel.org
Subject: [PATCH] xfstests: lib/tlibio: Fix a build warning
Date: Wed, 23 Mar 2016 10:27:53 +0900 [thread overview]
Message-ID: <56F1F119.4020007@jp.fujitsu.com> (raw)
Remove the following warning message.
===============================
tlibio.c: In function 'lio_set_debug':
tlibio.c:212:1: warning: type of 'level' defaults to 'int' [-Wimplicit-int]
lio_set_debug(level)
^
==============================
Signed-off-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
---
lib/tlibio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/tlibio.c b/lib/tlibio.c
index f2078da..9b1b890 100644
--- a/lib/tlibio.c
+++ b/lib/tlibio.c
@@ -209,7 +209,7 @@ int *max;
* This function will allow someone to set the debug level.
***********************************************************************/
int
-lio_set_debug(level)
+lio_set_debug(int level)
{
int old;
--
2.5.0
reply other threads:[~2016-03-23 1:28 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=56F1F119.4020007@jp.fujitsu.com \
--to=takeuchi_satoru@jp.fujitsu.com \
--cc=fstests@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.