forked from auracaster/openocd
target: declare local symbols as static
Functions and variables that are not used outside the file should be declared as static. Change-Id: I9f97571a528f0cb3c3c26f873577ab16fdec3cdc Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5895 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
This commit is contained in:
@@ -31,7 +31,7 @@ int nds32_probe_tlb(struct nds32 *nds32, const target_addr_t virtual_address,
|
||||
return aice_read_tlb(aice, virtual_address, physical_address);
|
||||
}
|
||||
|
||||
struct page_table_walker_info_s page_table_info[PAGE_SIZE_NUM] = {
|
||||
static struct page_table_walker_info_s page_table_info[PAGE_SIZE_NUM] = {
|
||||
/* 4K page */
|
||||
{0xFFC00000, 20, 0x003FF000, 10, 0x00000FFF, 0xFFFFF000, 0xFFFFF000, 0xFFFFF000},
|
||||
/* 8K page */
|
||||
|
||||
Reference in New Issue
Block a user