summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/core_alloc.c2
-rw-r--r--firmware/drivers/ramdisk.c4
-rw-r--r--firmware/logf.c2
-rw-r--r--firmware/powermgmt.c2
-rw-r--r--firmware/target/hosted/filesystem-app.c2
-rw-r--r--firmware/target/sh/archos/recorder/powermgmt-recorder.c4
6 files changed, 8 insertions, 8 deletions
diff --git a/firmware/core_alloc.c b/firmware/core_alloc.c
index 53e5bf4a97..df1b4d3213 100644
--- a/firmware/core_alloc.c
+++ b/firmware/core_alloc.c
@@ -19,7 +19,7 @@ extern unsigned char audiobufend[];
19/* defined in linker script */ 19/* defined in linker script */
20extern unsigned char audiobuffer[]; 20extern unsigned char audiobuffer[];
21#else /* PLATFORM_HOSTED */ 21#else /* PLATFORM_HOSTED */
22unsigned char audiobuffer[((MEMORYSIZE)*1024-768)*1024]; 22static unsigned char audiobuffer[((MEMORYSIZE)*1024-768)*1024];
23unsigned char *audiobufend = audiobuffer + sizeof(audiobuffer); 23unsigned char *audiobufend = audiobuffer + sizeof(audiobuffer);
24extern unsigned char *audiobufend; 24extern unsigned char *audiobufend;
25#endif 25#endif
diff --git a/firmware/drivers/ramdisk.c b/firmware/drivers/ramdisk.c
index c1f8824c93..44235c4575 100644
--- a/firmware/drivers/ramdisk.c
+++ b/firmware/drivers/ramdisk.c
@@ -27,9 +27,9 @@
27#define SECTOR_SIZE 512 27#define SECTOR_SIZE 512
28#define NUM_SECTORS 16384 28#define NUM_SECTORS 16384
29 29
30unsigned char ramdisk[SECTOR_SIZE * NUM_SECTORS]; 30static unsigned char ramdisk[SECTOR_SIZE * NUM_SECTORS];
31 31
32long last_disk_activity = -1; 32static long last_disk_activity = -1;
33 33
34int ramdisk_read_sectors(IF_MD(int drive,) 34int ramdisk_read_sectors(IF_MD(int drive,)
35 unsigned long start, 35 unsigned long start,
diff --git a/firmware/logf.c b/firmware/logf.c
index 2fdbfa0f0c..0f05c6590d 100644
--- a/firmware/logf.c
+++ b/firmware/logf.c
@@ -52,7 +52,7 @@
52#include "ata_idle_notify.h" 52#include "ata_idle_notify.h"
53 53
54unsigned char logdiskfbuffer[MAX_LOGDISKF_SIZE]; 54unsigned char logdiskfbuffer[MAX_LOGDISKF_SIZE];
55int logdiskfindex; 55static int logdiskfindex;
56#endif 56#endif
57 57
58/* Only provide all this if asked to */ 58/* Only provide all this if asked to */
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index 61cf1b34c4..35c5c639f6 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -56,7 +56,7 @@
56#endif 56#endif
57 57
58/** Shared by sim **/ 58/** Shared by sim **/
59int last_sent_battery_level = 100; 59static int last_sent_battery_level = 100;
60/* battery level (0-100%) */ 60/* battery level (0-100%) */
61int battery_percent = -1; 61int battery_percent = -1;
62void send_battery_level_event(void); 62void send_battery_level_event(void);
diff --git a/firmware/target/hosted/filesystem-app.c b/firmware/target/hosted/filesystem-app.c
index bcc880eab0..0c9943b635 100644
--- a/firmware/target/hosted/filesystem-app.c
+++ b/firmware/target/hosted/filesystem-app.c
@@ -41,7 +41,7 @@
41static const char rbhome[] = "/sdcard"; 41static const char rbhome[] = "/sdcard";
42#elif (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA)) \ 42#elif (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA)) \
43 && !defined(__PCTOOL__) 43 && !defined(__PCTOOL__)
44const char *rbhome; 44static const char *rbhome;
45#else 45#else
46/* YPR0, YPR1 */ 46/* YPR0, YPR1 */
47static const char rbhome[] = HOME_DIR; 47static const char rbhome[] = HOME_DIR;
diff --git a/firmware/target/sh/archos/recorder/powermgmt-recorder.c b/firmware/target/sh/archos/recorder/powermgmt-recorder.c
index 1e78b8d155..ca6067a4cc 100644
--- a/firmware/target/sh/archos/recorder/powermgmt-recorder.c
+++ b/firmware/target/sh/archos/recorder/powermgmt-recorder.c
@@ -85,8 +85,8 @@ static int wrcount = 0;
85 */ 85 */
86int long_delta; /* long term delta battery voltage */ 86int long_delta; /* long term delta battery voltage */
87int short_delta; /* short term delta battery voltage */ 87int short_delta; /* short term delta battery voltage */
88bool disk_activity_last_cycle = false; /* flag set to aid charger time 88static bool disk_activity_last_cycle = false; /* flag set to aid charger time
89 * calculation */ 89 * calculation */
90char power_message[POWER_MESSAGE_LEN] = ""; /* message that's shown in 90char power_message[POWER_MESSAGE_LEN] = ""; /* message that's shown in
91 debug menu */ 91 debug menu */
92 /* percentage at which charging 92 /* percentage at which charging