mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
env_nand: make local functions static
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
This commit is contained in:
parent
2d17b48911
commit
45f08d359f
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue