More const policeing, removed unused variable

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4901 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2004-07-20 19:13:46 +00:00
parent 80ebaabf80
commit c50a069e6e
2 changed files with 2 additions and 4 deletions

View file

@ -67,7 +67,6 @@
void dac_line_in(bool enable); void dac_line_in(bool enable);
#endif #endif
struct user_settings global_settings; struct user_settings global_settings;
char rockboxdir[] = ROCKBOX_DIR; /* config/font/data file directory */
char rec_base_directory[] = REC_BASE_DIR; char rec_base_directory[] = REC_BASE_DIR;
@ -152,7 +151,7 @@ static const char graphic_numeric[] = "graphic,numeric";
/* the part of the settings which ends up in the RTC RAM, where available /* the part of the settings which ends up in the RTC RAM, where available
(those we either need early, save frequently, or without spinup) */ (those we either need early, save frequently, or without spinup) */
static struct bit_entry rtc_bits[] = static const struct bit_entry rtc_bits[] =
{ {
/* placeholder, containing the size information */ /* placeholder, containing the size information */
{9, 0, 0, 0, NULL, NULL }, /* 9 bit to tell how far this is populated */ {9, 0, 0, 0, NULL, NULL }, /* 9 bit to tell how far this is populated */
@ -231,7 +230,7 @@ static struct bit_entry rtc_bits[] =
/* the part of the settings which ends up in HD sector only */ /* the part of the settings which ends up in HD sector only */
static struct bit_entry hd_bits[] = static const struct bit_entry hd_bits[] =
{ {
/* This table starts after the 44 RTC bytes = 352 bits. */ /* This table starts after the 44 RTC bytes = 352 bits. */
/* Here we need 11 bits to tell how far this is populated. */ /* Here we need 11 bits to tell how far this is populated. */

View file

@ -262,7 +262,6 @@ unsigned int rec_timesplit_seconds(void);
extern struct user_settings global_settings; extern struct user_settings global_settings;
/* name of directory where configuration, fonts and other data /* name of directory where configuration, fonts and other data
* files are stored */ * files are stored */
extern char rockboxdir[];
extern long lasttime; extern long lasttime;
/* Recording base directory */ /* Recording base directory */