summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/drivers/ata_flash.c2
-rw-r--r--firmware/drivers/lcd-charset-player.c4
-rw-r--r--firmware/test/buflib/test_main2.c4
-rw-r--r--firmware/test/buflib/test_move2.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/firmware/drivers/ata_flash.c b/firmware/drivers/ata_flash.c
index 96ea1cfa68..fbdd7f04ee 100644
--- a/firmware/drivers/ata_flash.c
+++ b/firmware/drivers/ata_flash.c
@@ -42,7 +42,7 @@
#define SECTOR_SIZE (512)
-long last_disk_activity = -1;
+static long last_disk_activity = -1;
#if CONFIG_FLASH == FLASH_IFP7XX
static unsigned char flash_ce[4] = {0x20, 0x02, 0x10, 0x08};
diff --git a/firmware/drivers/lcd-charset-player.c b/firmware/drivers/lcd-charset-player.c
index 68404c6230..b1f6f6dae2 100644
--- a/firmware/drivers/lcd-charset-player.c
+++ b/firmware/drivers/lcd-charset-player.c
@@ -115,7 +115,7 @@ enum {
#endif
};
-const struct xchar_info xchar_info_newlcd[] = {
+static const struct xchar_info xchar_info_newlcd[] = {
/* Standard ascii */
{ 0x20, 0, 0, 0x20 }, /* */
{ 0x21, 0, 0, 0x21 }, /* ! */
@@ -641,7 +641,7 @@ const struct xchar_info xchar_info_newlcd[] = {
{ 0xfffd, 0, 0, 0x91 },
};
-const struct xchar_info xchar_info_oldlcd[] = {
+static const struct xchar_info xchar_info_oldlcd[] = {
/* Standard ascii */
{ 0x20, 0, 0, 0x24 }, /* */
{ 0x21, 0, 0, 0x25 }, /* ! */
diff --git a/firmware/test/buflib/test_main2.c b/firmware/test/buflib/test_main2.c
index 9fed78612e..da6b1366e7 100644
--- a/firmware/test/buflib/test_main2.c
+++ b/firmware/test/buflib/test_main2.c
@@ -52,12 +52,12 @@ static int shrink_callback(int handle, unsigned hints, void* start, size_t size)
return BUFLIB_CB_CANNOT_SHRINK;
}
-struct buflib_callbacks ops = {
+static struct buflib_callbacks ops = {
.move_callback = move_callback,
.shrink_callback = shrink_callback,
};
-struct buflib_callbacks ops2 = {
+static struct buflib_callbacks ops2 = {
.move_callback = NULL,
.shrink_callback = shrink_callback,
};
diff --git a/firmware/test/buflib/test_move2.c b/firmware/test/buflib/test_move2.c
index 1076c27a50..2f72850b2b 100644
--- a/firmware/test/buflib/test_move2.c
+++ b/firmware/test/buflib/test_move2.c
@@ -80,7 +80,7 @@ struct buflib_callbacks ops = {
.shrink_callback = NULL,
};
-struct buflib_callbacks ops_no_move = {
+static struct buflib_callbacks ops_no_move = {
.move_callback = NULL,
.shrink_callback = NULL,
};