randomconfig fixes

This commit is contained in:
Denis Vlasenko 2008-07-29 11:10:01 +00:00
parent dadfb4975b
commit d91afa33fd
2 changed files with 7 additions and 3 deletions

View file

@ -170,6 +170,7 @@ enum {
};
#endif
#if ENABLE_FEATURE_FBSET_READMODE
static void ss(uint32_t *x, uint32_t flag, char *buf, const char *what)
{
if (strstr(buf, what))
@ -178,7 +179,6 @@ static void ss(uint32_t *x, uint32_t flag, char *buf, const char *what)
*x |= flag;
}
#if ENABLE_FEATURE_FBSET_READMODE
static int readmode(struct fb_var_screeninfo *base, const char *fn,
const char *mode)
{