diff options
Diffstat (limited to 'src/flash/nor/xcf.c')
-rw-r--r-- | src/flash/nor/xcf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/nor/xcf.c b/src/flash/nor/xcf.c index 29eef2d..0cef43b 100644 --- a/src/flash/nor/xcf.c +++ b/src/flash/nor/xcf.c @@ -45,7 +45,7 @@ #define ID_XCF32P 0x05059093 #define ID_MEANINGFUL_MASK 0x0FFFFFFF -const char *xcf_name_list[] = { +static const char * const xcf_name_list[] = { "XCF08P", "XCF16P", "XCF32P", @@ -399,7 +399,7 @@ static void flip_u8(uint8_t *out, const uint8_t *in, int len) * Function presumes need of bit reversing if it can not exactly detects * the opposite. */ -bool need_bit_reverse(const uint8_t *buffer) +static bool need_bit_reverse(const uint8_t *buffer) { const size_t L = 20; uint8_t reference[L]; |