]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers: target: Mark functions and structures as static in tfc_conf.c
authorRashika Kheria <rashika.kheria@gmail.com>
Wed, 18 Dec 2013 18:35:59 +0000 (00:05 +0530)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 19 Dec 2013 00:09:43 +0000 (16:09 -0800)
commit769d446e98b242786d0a3b104592d00d07aeb543
tree156c781f057ff1d816a1aab9a7fb1d09705d272c
parent4d2c294146321531bd00d15a75b1a877a07f65bb
drivers: target: Mark functions and structures as static in tfc_conf.c

Mark functions ft_tpg_alloc_fabric_acl(), ft_register_configfs() and
ft_deregister_configfs() as static in tcm_fc/tfc_conf.c because they are
not used outside this file.

This eliminates the following warnings in tcm_fc/tfc_conf.c:
drivers/target/tcm_fc/tfc_conf.c:270:21: warning: no previous prototype for ‘ft_tpg_alloc_fabric_acl’ [-Wmissing-prototypes]
drivers/target/tcm_fc/tfc_conf.c:555:5: warning: no previous prototype for ‘ft_register_configfs’ [-Wmissing-prototypes]
drivers/target/tcm_fc/tfc_conf.c:602:6: warning: no previous prototype for ‘ft_deregister_configfs’ [-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/tcm_fc/tfc_conf.c