From: Rashika Kheria Date: Thu, 19 Dec 2013 09:34:47 +0000 (+0530) Subject: drivers: block: Mark function seq_printf_with_thousands_grouping() as static in drbd_... X-Git-Tag: v4.14-rc1~7806^2~71 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fbe0d91ca32243b3471ddd5fc50f954785c71a82;p=platform%2Fkernel%2Flinux-rpi.git drivers: block: Mark function seq_printf_with_thousands_grouping() as static in drbd_proc.c Mark function seq_printf_with_thousands_grouping() as static in drbd/drbd_proc.c because it is not used outside this file. This eliminates the following warning in drbd/drbd_proc.c: drivers/block/drbd/drbd_proc.c:49:6: warning: no previous prototype for ‘seq_printf_with_thousands_grouping’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett Signed-off-by: Philipp Reisner --- diff --git a/drivers/block/drbd/drbd_proc.c b/drivers/block/drbd/drbd_proc.c index bf31d41..84fbe33 100644 --- a/drivers/block/drbd/drbd_proc.c +++ b/drivers/block/drbd/drbd_proc.c @@ -46,7 +46,7 @@ const struct file_operations drbd_proc_fops = { .release = drbd_proc_release, }; -void seq_printf_with_thousands_grouping(struct seq_file *seq, long v) +static void seq_printf_with_thousands_grouping(struct seq_file *seq, long v) { /* v is in kB/sec. We don't expect TiByte/sec yet. */ if (unlikely(v >= 1000000)) {