From: Jeroen Hofstee Date: Wed, 8 Oct 2014 20:57:35 +0000 (+0200) Subject: env_nand: make local functions static X-Git-Tag: v2015.01-rc1~163 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=45f08d359f7fc7892486f73475003a2103e25421;p=platform%2Fkernel%2Fu-boot.git env_nand: make local functions static Signed-off-by: Jeroen Hofstee --- diff --git a/common/env_nand.c b/common/env_nand.c index 5a734a9..749605f 100644 --- a/common/env_nand.c +++ b/common/env_nand.c @@ -124,7 +124,7 @@ int env_init(void) * The legacy NAND code saved the environment in the first NAND device i.e., * nand_dev_desc + 0. This is also the behaviour using the new NAND code. */ -int writeenv(size_t offset, u_char *buf) +static int writeenv(size_t offset, u_char *buf) { size_t end = offset + CONFIG_ENV_RANGE; size_t amount_saved = 0; @@ -233,7 +233,7 @@ int saveenv(void) } #endif /* CMD_SAVEENV */ -int readenv(size_t offset, u_char *buf) +static int readenv(size_t offset, u_char *buf) { size_t end = offset + CONFIG_ENV_RANGE; size_t amount_loaded = 0;