drivers: block: Mark functions as static in drbd_main.c
authorRashika Kheria <rashika.kheria@gmail.com>
Thu, 19 Dec 2013 09:46:22 +0000 (15:16 +0530)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 17 Feb 2014 15:19:38 +0000 (16:19 +0100)
commit16f4e743c81cec1194a0bc4c03e31f19af7ec005
treeea24071a9e21220e570c7d37e95250617f66d3b7
parent6d0abeca3242a88cab8232e4acd7e2bf088f3bc2
drivers: block: Mark functions as static in drbd_main.c

Mark functions _drbd_send_uuids(), fill_bitmap_rle_bits() and
init_submitter() as static in drbd/drbd_main.c because they are
not used outside this file.

This eliminates the following warnings in drbd/drbd_main.c:
drivers/block/drbd/drbd_main.c:826:5: warning: no previous prototype for ‘_drbd_send_uuids’ [-Wmissing-prototypes]
drivers/block/drbd/drbd_main.c:1070:5: warning: no previous prototype for ‘fill_bitmap_rle_bits’ [-Wmissing-prototypes]
drivers/block/drbd/drbd_main.c:2592:5: warning: no previous prototype for ‘init_submitter’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
drivers/block/drbd/drbd_main.c