]> git.sur5r.net Git - openocd/commitdiff
nor/str7x: review scope of symbols
authorAntonio Borneo <borneo.antonio@gmail.com>
Sun, 20 Jun 2010 09:44:24 +0000 (17:44 +0800)
committerAntonio Borneo <borneo.antonio@gmail.com>
Mon, 21 Jun 2010 14:14:23 +0000 (22:14 +0800)
Add "static" qualifier to private function.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
src/flash/nor/str7x.c

index 4c450afa9734f4f36850b7785fc2570dc0ee29ce..069e90c2e4ca3bec91c8a40e51a8f0bbc324b32f 100644 (file)
@@ -394,7 +394,7 @@ static int str7x_protect(struct flash_bank *bank, int set, int first, int last)
        return ERROR_OK;
 }
 
-int str7x_write_block(struct flash_bank *bank, uint8_t *buffer,
+static int str7x_write_block(struct flash_bank *bank, uint8_t *buffer,
                uint32_t offset, uint32_t count)
 {
        struct str7x_flash_bank *str7x_info = bank->driver_priv;