diff options
author | Eric Andersen | 2004-03-15 08:29:22 +0000 |
---|---|---|
committer | Eric Andersen | 2004-03-15 08:29:22 +0000 |
commit | c7bda1ce659294d6e22c06e087f6f265983c7578 (patch) | |
tree | 4c6d2217f4d8306c59cf1096f8664e1cfd167213 /util-linux/fbset.c | |
parent | 8854004b41065b3d081af7f3df13a100b0c8bfbe (diff) | |
download | busybox-c7bda1ce659294d6e22c06e087f6f265983c7578.zip busybox-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz |
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'util-linux/fbset.c')
-rw-r--r-- | util-linux/fbset.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/util-linux/fbset.c b/util-linux/fbset.c index b5f57b1..83bf309 100644 --- a/util-linux/fbset.c +++ b/util-linux/fbset.c @@ -20,7 +20,7 @@ * * This is a from-scratch implementation of fbset; but the de facto fbset * implementation was a good reference. fbset (original) is released under - * the GPL, and is (c) 1995-1999 by: + * the GPL, and is (c) 1995-1999 by: * Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be) */ @@ -89,8 +89,8 @@ static const int FBIOPUT_VSCREENINFO = 0x4601; struct fb_bitfield { uint32_t offset; /* beginning of bitfield */ uint32_t length; /* length of bitfield */ - uint32_t msb_right; /* != 0 : Most significant bit is */ - /* right */ + uint32_t msb_right; /* != 0 : Most significant bit is */ + /* right */ }; struct fb_var_screeninfo { uint32_t xres; /* visible resolution */ @@ -106,7 +106,7 @@ struct fb_var_screeninfo { struct fb_bitfield red; /* bitfield in fb mem if true color, */ struct fb_bitfield green; /* else only length is significant */ struct fb_bitfield blue; - struct fb_bitfield transp; /* transparency */ + struct fb_bitfield transp; /* transparency */ uint32_t nonstd; /* != 0 Non standard pixel format */ @@ -210,13 +210,13 @@ static int readmode(struct fb_var_screeninfo *base, const char *fn, if ((p = strstr(buf, "geometry "))) { p += 9; - sscanf(p, "%d %d %d %d %d", - &(base->xres), &(base->yres), - &(base->xres_virtual), &(base->yres_virtual), + sscanf(p, "%d %d %d %d %d", + &(base->xres), &(base->yres), + &(base->xres_virtual), &(base->yres_virtual), &(base->bits_per_pixel)); } else if ((p = strstr(buf, "timings "))) { p += 8; - + sscanf(p, "%d %d %d %d %d %d %d", &(base->pixclock), &(base->left_margin), &(base->right_margin), @@ -271,7 +271,7 @@ static int readmode(struct fb_var_screeninfo *base, const char *fn, base->sync |= FB_SYNC_EXT; } } - + if (strstr(buf, "endmode")) return 1; } |