flash: nor: add static to local symbols

Add static type to symbols that are not used elsewhere.

Detected through 'sparse' tool.

Change-Id: I2bdac5d2b06a6dbed5c27bfdb1cf36eee90ad823
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7594
Tested-by: jenkins
This commit is contained in:
Antonio Borneo
2023-04-08 23:59:42 +02:00
parent 6e4000df9e
commit d4fe63e36b
2 changed files with 3 additions and 3 deletions

View File

@@ -536,8 +536,8 @@ struct numicro_flash_bank {
};
/* Private variables */
uint32_t m_page_size = NUMICRO_PAGESIZE;
uint32_t m_address_bias_offset;
static uint32_t m_page_size = NUMICRO_PAGESIZE;
static uint32_t m_address_bias_offset;
/* Private methods */
static int numicro_get_arm_arch(struct target *target)