From 40d5b64b625c924f17c09eb181c55dab03630058 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 29 Jan 2007 04:32:10 +0000 Subject: =?UTF-8?q?2007-01-29=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * console/fb_vga.c: Eliminate __u16, __u32. --- c/src/lib/libbsp/i386/pc386/ChangeLog | 4 ++++ c/src/lib/libbsp/i386/pc386/console/fb_vga.c | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'c/src') diff --git a/c/src/lib/libbsp/i386/pc386/ChangeLog b/c/src/lib/libbsp/i386/pc386/ChangeLog index 5d99761c6a..221b3dd3f7 100644 --- a/c/src/lib/libbsp/i386/pc386/ChangeLog +++ b/c/src/lib/libbsp/i386/pc386/ChangeLog @@ -1,3 +1,7 @@ +2007-01-29 Ralf Corsépius + + * console/fb_vga.c: Eliminate __u16, __u32. + 2006-12-15 Ralf Corsépius * 3c509/3c509.c, ne2000/ne2000.c, wd8003/wd8003.c: Use diff --git a/c/src/lib/libbsp/i386/pc386/console/fb_vga.c b/c/src/lib/libbsp/i386/pc386/console/fb_vga.c index 3324a1ac5c..0580dd50f8 100644 --- a/c/src/lib/libbsp/i386/pc386/console/fb_vga.c +++ b/c/src/lib/libbsp/i386/pc386/console/fb_vga.c @@ -39,15 +39,15 @@ static struct fb_screeninfo fb_info = FB_VISUAL_PSEUDOCOLOR /* color scheme used */ }; -static __u16 red16[] = { +static uint16_t red16[] = { 0x0000, 0x0000, 0x0000, 0x0000, 0xaaaa, 0xaaaa, 0xaaaa, 0xaaaa, 0x5555, 0x5555, 0x5555, 0x5555, 0xffff, 0xffff, 0xffff, 0xffff }; -static __u16 green16[] = { +static uint16_t green16[] = { 0x0000, 0x0000, 0xaaaa, 0xaaaa, 0x0000, 0x0000, 0x5555, 0xaaaa, 0x5555, 0x5555, 0xffff, 0xffff, 0x5555, 0x5555, 0xffff, 0xffff }; -static __u16 blue16[] = { +static uint16_t blue16[] = { 0x0000, 0xaaaa, 0x0000, 0xaaaa, 0x0000, 0xaaaa, 0x0000, 0xaaaa, 0x5555, 0xffff, 0x5555, 0xffff, 0x5555, 0xffff, 0x5555, 0xffff }; @@ -138,7 +138,7 @@ static int get_screen_info( struct fb_screeninfo *info ) static int get_palette( struct fb_cmap *cmap ) { - __u32 i; + uint32_t i; if( cmap->start + cmap->len >= 16 ) return 1; @@ -154,7 +154,7 @@ static int get_palette( struct fb_cmap *cmap ) static int set_palette( struct fb_cmap *cmap ) { - __u32 i; + uint32_t i; if( cmap->start + cmap->len >= 16 ) return 1; -- cgit v1.2.3