]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers: block: Mark functions as static in drbd_req.c
authorRashika Kheria <rashika.kheria@gmail.com>
Thu, 19 Dec 2013 09:42:27 +0000 (15:12 +0530)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 17 Feb 2014 15:19:39 +0000 (16:19 +0100)
commit01cd263614b8b827f7f3997a3bf3d3e552c14d6e
tree80e4dbaf418b8e69ecfe9201fc3a84e8ebc63fc9
parented54482b996d16159f3b2f6c03634d340a74dade
drivers: block: Mark functions as static in drbd_req.c

Mark functions drbd_request_prepare() and find_oldest_request() as
static in drbd/drbd_req.c because they are not used outside this file.

This eliminates the following warnings in drbd/drbd_req.c:
drivers/block/drbd/drbd_req.c:1037:1: warning: no previous prototype for ‘drbd_request_prepare’ [-Wmissing-prototypes]
drivers/block/drbd/drbd_req.c:1323:22: warning: no previous prototype for ‘find_oldest_request’ [-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_req.c