drivers: block: Move prototype declaration of function tl_abort_disk_io() to appropri...
authorRashika Kheria <rashika.kheria@gmail.com>
Thu, 19 Dec 2013 09:45:02 +0000 (15:15 +0530)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 17 Feb 2014 15:19:38 +0000 (16:19 +0100)
commited54482b996d16159f3b2f6c03634d340a74dade
tree782f12e7a2d10b0105972ac58406b6faab0eba5a
parenta99efafc266befc5eea09b75a50a3a4d4b262065
drivers: block: Move prototype declaration of function tl_abort_disk_io() to appropriate header file from drbd_state.c

Move the prototype declaration of function tl_abort_disk_io() from
drbd/drbd_state.c to appropriate header file drbd/drbd_int.h because it
is used by more than 2 files.

This eliminates the following warnings in drbd/drbd_main.c:
drivers/block/drbd/drbd_main.c:310:6: warning: no previous prototype for ‘tl_abort_disk_io’ [-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_int.h
drivers/block/drbd/drbd_state.c