public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xfstests: lib/tlibio: Fix a build warning
@ 2016-03-23  1:27 Satoru Takeuchi
  0 siblings, 0 replies; only message in thread
From: Satoru Takeuchi @ 2016-03-23  1:27 UTC (permalink / raw)
  To: fstests

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

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

only message in thread, other threads:[~2016-03-23  1:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-23  1:27 [PATCH] xfstests: lib/tlibio: Fix a build warning Satoru Takeuchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox