forked from auracaster/openocd
flash: declare local symbols as static
Functions and variables that are not used outside the file should be declared as static. Change-Id: I52d46ed6d4c9b98a7152eb23274c836416f409a3 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5893 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
This commit is contained in:
@@ -139,7 +139,7 @@ struct psoc4_chip_family {
|
||||
uint32_t flags;
|
||||
};
|
||||
|
||||
const struct psoc4_chip_family psoc4_families[] = {
|
||||
static const struct psoc4_chip_family psoc4_families[] = {
|
||||
{ 0x93, "PSoC4100/4200", .flags = PSOC4_FAMILY_FLAG_LEGACY },
|
||||
{ 0x9A, "PSoC4000", .flags = 0 },
|
||||
{ 0x9E, "PSoC/PRoC BLE (119E)", .flags = 0 },
|
||||
|
||||
Reference in New Issue
Block a user