Make a few local variables static

Change-Id: Ieb77a7f2cdf765afa3121320d03c0478cd97eb0f
This commit is contained in:
Thomas Jarosch 2015-01-11 18:02:43 +01:00
parent 5f5a83e1c9
commit cfbd9cb22f
7 changed files with 10 additions and 10 deletions

View file

@ -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;

View file

@ -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