Staging: lustre: obdclass: class_obd: Declare as static
authorShraddha Barke <shraddha.6596@gmail.com>
Sun, 4 Oct 2015 07:30:15 +0000 (13:00 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 08:59:35 +0000 (09:59 +0100)
Declare obd_init_checks as static since it is used only in this
particular file.

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/class_obd.c

index d16f85b49ff4f50ff2fad9c97686e40dd7164205..e8a155809872d4c7ba3eb27ce99eab68022c8e8f 100644 (file)
@@ -403,7 +403,7 @@ int class_handle_ioctl(unsigned int cmd, unsigned long arg)
 } /* class_handle_ioctl */
 
 #define OBD_INIT_CHECK
-int obd_init_checks(void)
+static int obd_init_checks(void)
 {
        __u64 u64val, div64val;
        char buf[64];