提交 d6efe244 编写于 作者: M Mike Frysinger 提交者: Wolfgang Denk

cmd_mem: localize state variables

These "last" variables aren't used outside of this file, so add static.
Signed-off-by: NMike Frysinger <vapier@gentoo.org>
上级 558605cf
......@@ -48,9 +48,9 @@ static int mod_mem(cmd_tbl_t *, int, int, int, char * const []);
/* Display values from last command.
* Memory modify remembered values are different from display memory.
*/
uint dp_last_addr, dp_last_size;
uint dp_last_length = 0x40;
uint mm_last_addr, mm_last_size;
static uint dp_last_addr, dp_last_size;
static uint dp_last_length = 0x40;
static uint mm_last_addr, mm_last_size;
static ulong base_address = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册