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>
Showing
- drivers/target/target_core_alua.c 1 addition, 1 deletiondrivers/target/target_core_alua.c
- drivers/target/target_core_cdb.c 2 additions, 1 deletiondrivers/target/target_core_cdb.c
- drivers/target/target_core_cdb.h 0 additions, 14 deletionsdrivers/target/target_core_cdb.h
- drivers/target/target_core_configfs.c 1 addition, 2 deletionsdrivers/target/target_core_configfs.c
- drivers/target/target_core_device.c 1 addition, 1 deletiondrivers/target/target_core_device.c
- drivers/target/target_core_fabric_configfs.c 1 addition, 2 deletionsdrivers/target/target_core_fabric_configfs.c
- drivers/target/target_core_fabric_lib.c 1 addition, 1 deletiondrivers/target/target_core_fabric_lib.c
- drivers/target/target_core_hba.c 1 addition, 1 deletiondrivers/target/target_core_hba.c
- drivers/target/target_core_hba.h 0 additions, 7 deletionsdrivers/target/target_core_hba.h
- drivers/target/target_core_internal.h 123 additions, 0 deletionsdrivers/target/target_core_internal.h
- drivers/target/target_core_pr.c 1 addition, 1 deletiondrivers/target/target_core_pr.c
- drivers/target/target_core_stat.c 1 addition, 1 deletiondrivers/target/target_core_stat.c
- drivers/target/target_core_stat.h 0 additions, 8 deletionsdrivers/target/target_core_stat.h
- drivers/target/target_core_tmr.c 1 addition, 0 deletionsdrivers/target/target_core_tmr.c
- drivers/target/target_core_tpg.c 1 addition, 2 deletionsdrivers/target/target_core_tpg.c
- drivers/target/target_core_transport.c 30 additions, 37 deletionsdrivers/target/target_core_transport.c
- drivers/target/target_core_ua.c 1 addition, 1 deletiondrivers/target/target_core_ua.c
- include/target/target_core_device.h 2 additions, 56 deletionsinclude/target/target_core_device.h
- include/target/target_core_tmr.h 0 additions, 4 deletionsinclude/target/target_core_tmr.h
- include/target/target_core_tpg.h 0 additions, 13 deletionsinclude/target/target_core_tpg.h
Loading
Please register or sign in to comment