lib/tlibio: Fix a build warning
authorSatoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Tue, 5 Apr 2016 01:41:40 +0000 (11:41 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 5 Apr 2016 01:41:40 +0000 (11:41 +1000)
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>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
lib/tlibio.c

index f2078da..9b1b890 100644 (file)
@@ -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;