]> git.karo-electronics.de Git - linux-beck.git/commit
drivers: block: Mark functions as static in drbd_nl.c
authorRashika Kheria <rashika.kheria@gmail.com>
Thu, 19 Dec 2013 09:47:33 +0000 (15:17 +0530)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 17 Feb 2014 15:19:38 +0000 (16:19 +0100)
commit4b7a530f6b79d93571416dd0303545c691bdd5ff
treeaf7bd1c55c6f6b7f65cc5e3138310d01bbfa4b11
parent16f4e743c81cec1194a0bc4c03e31f19af7ec005
drivers: block: Mark functions as static in drbd_nl.c

Mark functions conn_khelper(), nla_put_drbd_cfg_context(),
nla_put_status_info() and get_one_status() as static in drbd/drbd_nl.c
because they are not used outside this file.

This eliminates the following warnings in drbd/drbd_nl.c:
drivers/block/drbd/drbd_nl.c:365:5: warning: no previous prototype for ‘conn_khelper’ [-Wmissing-prototypes]
drivers/block/drbd/drbd_nl.c:2727:5: warning: no previous prototype for ‘nla_put_drbd_cfg_context’ [-Wmissing-prototypes]
drivers/block/drbd/drbd_nl.c:2753:5: warning: no previous prototype for ‘nla_put_status_info’ [-Wmissing-prototypes]
drivers/block/drbd/drbd_nl.c:2895:5: warning: no previous prototype for ‘get_one_status’ [-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_nl.c