Killed a dozen global variables

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3015 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2002-12-18 14:57:45 +00:00
parent 34fa62b300
commit c3fd67c6c9
9 changed files with 27 additions and 22 deletions

View file

@ -70,7 +70,6 @@ extern int charge_state; /* tells what the charger is doing (for info di
#define CURRENT_CHARGING 300 /* charging current */
extern unsigned short power_history[POWER_HISTORY_LEN];
void set_battery_capacity(int capacity); /* set local battery capacity value */
/* Start up power management thread */
void power_init(void);
@ -85,6 +84,7 @@ int battery_time(void); /* minutes */
bool battery_level_safe(void);
void set_poweroff_timeout(int timeout);
void set_battery_capacity(int capacity); /* set local battery capacity value */
void set_sleep_timer(int seconds);
int get_sleep_timer(void);