summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2016-11-30 12:18:36 +0100
committerMichal Simek <michal.simek@xilinx.com>2016-12-02 14:37:32 +0100
commit861fe6503e205622202a61d3ca86cd4ccb80bf03 (patch)
treecf0e0f79ed87cb6cd9f33a2dfd303ff3fa79451c /cmd
parent0b3a58eeee43e52ae1cfef920844952bc45d5cdb (diff)
cmd: scsi: Make private functions static
Two functions should be static because they are not exported to any other file. Warnings were reported by sparse C=1. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/scsi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/scsi.c b/cmd/scsi.c
index 7442e6aef4..4213ec8677 100644
--- a/cmd/scsi.c
+++ b/cmd/scsi.c
@@ -17,7 +17,7 @@ static int scsi_curr_dev; /* current device */
/*
* scsi boot command intepreter. Derived from diskboot
*/
-int do_scsiboot(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
+static int do_scsiboot(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
{
return common_diskboot(cmdtp, "scsi", argc, argv);
}
@@ -25,7 +25,7 @@ int do_scsiboot(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
/*
* scsi command intepreter
*/
-int do_scsi(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
+static int do_scsi(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
{
int ret;