#endif
};
-static unsigned int g_options = 0;
+static unsigned g_options;
/* Stuff stolen from the kernel's fb.h */
#define FB_ACTIVATE_ALL 64
#ifdef STANDALONE
int main(int argc, char **argv)
#else
+int fbset_main(int argc, char **argv);
int fbset_main(int argc, char **argv)
#endif
{
struct fb_var_screeninfo var, varset;
int fh, i;
- char *fbdev = DEFAULTFBDEV;
- char *modefile = DEFAULTFBMODE;
+ const char *fbdev = DEFAULTFBDEV;
+ const char *modefile = DEFAULTFBMODE;
char *thisarg, *mode = NULL;
memset(&varset, 0xFF, sizeof(varset));