summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorThomas Jarosch <tomj@simonv.com>2015-01-11 18:02:43 +0100
committerThomas Jarosch <tomj@simonv.com>2015-01-11 18:02:43 +0100
commitcfbd9cb22fc1499c3b2f8207d72dce4cb388e09f (patch)
tree63944006054f4389ef6b189da42cb01c85100cdd /firmware/target
parent5f5a83e1c9c847a974609e901cf58125f1ef6b84 (diff)
downloadrockbox-cfbd9cb22fc1499c3b2f8207d72dce4cb388e09f.zip
rockbox-cfbd9cb22fc1499c3b2f8207d72dce4cb388e09f.tar.gz
rockbox-cfbd9cb22fc1499c3b2f8207d72dce4cb388e09f.tar.bz2
rockbox-cfbd9cb22fc1499c3b2f8207d72dce4cb388e09f.tar.xz
Make a few local variables static
Change-Id: Ieb77a7f2cdf765afa3121320d03c0478cd97eb0f
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/hosted/filesystem-app.c2
-rw-r--r--firmware/target/sh/archos/recorder/powermgmt-recorder.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/hosted/filesystem-app.c b/firmware/target/hosted/filesystem-app.c
index bcc880e..0c9943b 100644
--- a/firmware/target/hosted/filesystem-app.c
+++ b/firmware/target/hosted/filesystem-app.c
@@ -41,7 +41,7 @@
static const char rbhome[] = "/sdcard";
#elif (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO|PLATFORM_PANDORA)) \
&& !defined(__PCTOOL__)
-const char *rbhome;
+static const char *rbhome;
#else
/* YPR0, YPR1 */
static 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 1e78b8d..ca6067a 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;
*/
int long_delta; /* long term delta battery voltage */
int short_delta; /* short term delta battery voltage */
-bool disk_activity_last_cycle = false; /* flag set to aid charger time
- * calculation */
+static bool disk_activity_last_cycle = false; /* flag set to aid charger time
+ * calculation */
char power_message[POWER_MESSAGE_LEN] = ""; /* message that's shown in
debug menu */
/* percentage at which charging