summaryrefslogtreecommitdiffstats
path: root/common/cmd_ubi.c
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2014-06-23 00:22:08 +0200
committerTom Rini <trini@ti.com>2014-07-18 17:53:23 -0400
commit0e350f81e1ca7d103fd9685725f9c4b0d9e80632 (patch)
tree05af9f8bb5f3a0c4cc03c7624880d6ee7927b93c /common/cmd_ubi.c
parente259d6a320d0280f02966b8bc35316fb136c5e24 (diff)
downloadtalos-obmc-uboot-0e350f81e1ca7d103fd9685725f9c4b0d9e80632.tar.gz
talos-obmc-uboot-0e350f81e1ca7d103fd9685725f9c4b0d9e80632.zip
common: commands: make commands static
Since most commands are not public, make them static. This prevents warnings that no common prototype is available. Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'common/cmd_ubi.c')
-rw-r--r--common/cmd_ubi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_ubi.c b/common/cmd_ubi.c
index 7c4d950e96..3c37c93f10 100644
--- a/common/cmd_ubi.c
+++ b/common/cmd_ubi.c
@@ -287,7 +287,7 @@ out_err:
return err;
}
-int ubi_volume_continue_write(char *volume, void *buf, size_t size)
+static int ubi_volume_continue_write(char *volume, void *buf, size_t size)
{
int err = 1;
struct ubi_volume *vol;
OpenPOWER on IntegriCloud