target: reshuffle headers
authorChristoph Hellwig <hch@infradead.org>
Mon, 14 Nov 2011 17:30:30 +0000 (12:30 -0500)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 14 Dec 2011 08:51:12 +0000 (08:51 +0000)
commite26d99aed42ec6cdc9540d19c77ac5d4dd2c5b00
tree9c0424f81877d6c5cfaf7746447e0c9decf8e82e
parentdc47ce90c3a822cd7c9e9339fe4d5f61dcb26b50
target: reshuffle headers

Create a new headers, drivers/target/target_core_internal.h that is supposed
to hold all target_core-internal prototypes.  Move all non-exported includes
from include/target to it, and merge the smaller prototype-only includes
inside drivers/target into it as well.  Mark functions that were found to
not be called outside their implementation file static.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
21 files changed:
drivers/target/target_core_alua.c
drivers/target/target_core_cdb.c
drivers/target/target_core_cdb.h [deleted file]
drivers/target/target_core_configfs.c
drivers/target/target_core_device.c
drivers/target/target_core_fabric_configfs.c
drivers/target/target_core_fabric_lib.c
drivers/target/target_core_hba.c
drivers/target/target_core_hba.h [deleted file]
drivers/target/target_core_internal.h [new file with mode: 0644]
drivers/target/target_core_pr.c
drivers/target/target_core_stat.c
drivers/target/target_core_stat.h [deleted file]
drivers/target/target_core_tmr.c
drivers/target/target_core_tpg.c
drivers/target/target_core_transport.c
drivers/target/target_core_ua.c
include/target/target_core_device.h
include/target/target_core_tmr.h
include/target/target_core_tpg.h
include/target/target_core_transport.h