Skip to contentSkip to conversation

xfstests: lib/tlibio: Fix a build warning

PATCH New Satoru Takeuchi 1 participant 1 message Mar 23, 2016 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfstests: lib/tlibio: Fix a build warning

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)
^
==============================

---
 lib/tlibio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/tlibio.c +1 -1
index f2078da..9b1b890 100644
@@ -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;
 
Signature · 1 line
2.5.0