summaryrefslogtreecommitdiff
path: root/util-linux/fbset.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-01-24 22:52:21 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-01-24 22:52:21 +0100
commit6b01b71e8370c58787318d5fca06db2074f95c55 (patch)
tree1f2fff69f5004a6fe66872434e1a25827588f1a7 /util-linux/fbset.c
parent9f93d621925966c22ee51fdcb5def8e131596f9b (diff)
downloadbusybox-w32-6b01b71e8370c58787318d5fca06db2074f95c55.tar.gz
busybox-w32-6b01b71e8370c58787318d5fca06db2074f95c55.tar.bz2
busybox-w32-6b01b71e8370c58787318d5fca06db2074f95c55.zip
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/fbset.c')
-rw-r--r--util-linux/fbset.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/util-linux/fbset.c b/util-linux/fbset.c
index dc3245baf..2769a371a 100644
--- a/util-linux/fbset.c
+++ b/util-linux/fbset.c
@@ -189,17 +189,17 @@ static const struct cmdoptions_t {
189#endif 189#endif
190}; 190};
191 191
192#if ENABLE_FEATURE_FBSET_READMODE
193/* taken from linux/fb.h */ 192/* taken from linux/fb.h */
194enum { 193enum {
195 FB_VMODE_INTERLACED = 1, /* interlaced */
196 FB_VMODE_DOUBLE = 2, /* double scan */
197 FB_SYNC_HOR_HIGH_ACT = 1, /* horizontal sync high active */ 194 FB_SYNC_HOR_HIGH_ACT = 1, /* horizontal sync high active */
198 FB_SYNC_VERT_HIGH_ACT = 2, /* vertical sync high active */ 195 FB_SYNC_VERT_HIGH_ACT = 2, /* vertical sync high active */
196#if ENABLE_FEATURE_FBSET_READMODE
197 FB_VMODE_INTERLACED = 1, /* interlaced */
198 FB_VMODE_DOUBLE = 2, /* double scan */
199 FB_SYNC_EXT = 4, /* external sync */ 199 FB_SYNC_EXT = 4, /* external sync */
200 FB_SYNC_COMP_HIGH_ACT = 8, /* composite sync high active */ 200 FB_SYNC_COMP_HIGH_ACT = 8, /* composite sync high active */
201};
202#endif 201#endif
202};
203 203
204#if ENABLE_FEATURE_FBSET_READMODE 204#if ENABLE_FEATURE_FBSET_READMODE
205static void ss(uint32_t *x, uint32_t flag, char *buf, const char *what) 205static void ss(uint32_t *x, uint32_t flag, char *buf, const char *what)