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>
This commit is contained in:
Jeroen Hofstee
2014-06-23 00:22:08 +02:00
committed by Tom Rini
parent e259d6a320
commit 0e350f81e1
11 changed files with 36 additions and 28 deletions

View File

@@ -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;