OSDN Git Service

target: move external declarations to a headers
authorChristoph Hellwig <hch@lst.de>
Thu, 26 Mar 2015 11:27:31 +0000 (12:27 +0100)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 26 Mar 2015 21:51:53 +0000 (14:51 -0700)
commitb13876d23a24f7fb5307183ee3314434193870af
tree652218a96397fd3830b9708fa679ee8d63ec78f2
parente673dc920b805f08429e122321f8355cb97c2120
target: move external declarations to a headers

We should not declare extrnal .c symbols in C files to make sure they
match the actual prototype, and sparse correctly warns about this.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_internal.h
drivers/target/target_core_xcopy.c