]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers: target: Move prototype declaration of function to header file target_core_pr.h
authorRashika Kheria <rashika.kheria@gmail.com>
Wed, 18 Dec 2013 18:24:32 +0000 (23:54 +0530)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 19 Dec 2013 00:08:56 +0000 (16:08 -0800)
commitd27d91ad83af1fff14d5e864e4a773faa68c879c
tree4e483dea097d01f5d820b715c25c22af880c9683
parente66f046d1910aed58b9a08cfa2129be84d6eae88
drivers: target: Move prototype declaration of function to header file target_core_pr.h

Move prototype declaration of function
spc_parse_naa_6h_vendor_specific() from target_core_xcopy.c to header
file target_core_pr.h because it is used by more than one file.

This eliminates the following warning in target_core_spc.c:
drivers/target/target_core_spc.c:138:6: warning: no previous prototype for ‘spc_parse_naa_6h_vendor_specific’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_pr.h
drivers/target/target_core_xcopy.c