From 61c06359915cbaef5b8538d2600ecbc17d4b387c Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sat, 10 Apr 2010 19:29:51 +0800 Subject: [PATCH] STR9XPEC: review scope of functions Add "static" qualifier to private functions. Signed-off-by: Antonio Borneo --- src/flash/nor/str9xpec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flash/nor/str9xpec.c b/src/flash/nor/str9xpec.c index a93b6a27..861d70bc 100644 --- a/src/flash/nor/str9xpec.c +++ b/src/flash/nor/str9xpec.c @@ -33,7 +33,7 @@ static int str9xpec_erase_area(struct flash_bank *bank, int first, int last); static int str9xpec_set_address(struct flash_bank *bank, uint8_t sector); static int str9xpec_write_options(struct flash_bank *bank); -int str9xpec_set_instr(struct jtag_tap *tap, uint32_t new_instr, tap_state_t end_state) +static int str9xpec_set_instr(struct jtag_tap *tap, uint32_t new_instr, tap_state_t end_state) { if (tap == NULL) { return ERROR_TARGET_INVALID; -- 2.39.5