提交 45f08d35 编写于 作者: J Jeroen Hofstee 提交者: Tom Rini

env_nand: make local functions static

Signed-off-by: NJeroen Hofstee <jeroen@myspectrum.nl>
上级 2d17b489
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册