mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 12:39:22 -04:00
cmd_mem: localize state variables
These "last" variables aren't used outside of this file, so add static. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
558605cf4f
commit
d6efe244e4
@ -48,9 +48,9 @@ static int mod_mem(cmd_tbl_t *, int, int, int, char * const []);
|
|||||||
/* Display values from last command.
|
/* Display values from last command.
|
||||||
* Memory modify remembered values are different from display memory.
|
* Memory modify remembered values are different from display memory.
|
||||||
*/
|
*/
|
||||||
uint dp_last_addr, dp_last_size;
|
static uint dp_last_addr, dp_last_size;
|
||||||
uint dp_last_length = 0x40;
|
static uint dp_last_length = 0x40;
|
||||||
uint mm_last_addr, mm_last_size;
|
static uint mm_last_addr, mm_last_size;
|
||||||
|
|
||||||
static ulong base_address = 0;
|
static ulong base_address = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user