From: Michal Simek Date: Wed, 30 Nov 2016 11:18:36 +0000 (+0100) Subject: cmd: scsi: Make private functions static X-Git-Tag: v2017.01-rc1~131 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=861fe6503e205622202a61d3ca86cd4ccb80bf03;p=u-boot 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 Reviewed-by: Tom Rini Reviewed-by: Simon Glass --- 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;