From 990d19fd6d925da5856de50fd84d8656e762b83c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 15 Mar 2011 20:44:11 +0000 Subject: sim: bfin: fix brace style --- sim/bfin/gui.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'sim/bfin/gui.c') diff --git a/sim/bfin/gui.c b/sim/bfin/gui.c index 65f3735..879bfd1 100644 --- a/sim/bfin/gui.c +++ b/sim/bfin/gui.c @@ -46,7 +46,8 @@ static struct { void (*UpdateRect) (SDL_Surface *screen, Sint32 x, Sint32 y, Uint32 w, Uint32 h); } sdl; -static const char * const sdl_syms[] = { +static const char * const sdl_syms[] = +{ "SDL_Init", "SDL_Quit", "SDL_SetVideoMode", @@ -222,19 +223,24 @@ bfin_gui_update (void *state, const void *source, unsigned nr_bytes) _FORMAT(((((rcnt) + (gcnt) + (bcnt) + (acnt)) + 7) / 8) * 8, \ rcnt, gcnt, bcnt, acnt, rsh, gsh, bsh, ash) -static const SDL_PixelFormat sdl_rgb_565 = { +static const SDL_PixelFormat sdl_rgb_565 = +{ FORMAT (5, 6, 5, 0, 11, 5, 0, 0) }; -static const SDL_PixelFormat sdl_bgr_565 = { +static const SDL_PixelFormat sdl_bgr_565 = +{ FORMAT (5, 6, 5, 0, 0, 5, 11, 0) }; -static const SDL_PixelFormat sdl_rgb_888 = { +static const SDL_PixelFormat sdl_rgb_888 = +{ FORMAT (8, 8, 8, 0, 16, 8, 0, 0) }; -static const SDL_PixelFormat sdl_bgr_888 = { +static const SDL_PixelFormat sdl_bgr_888 = +{ FORMAT (8, 8, 8, 0, 0, 8, 16, 0) }; -static const SDL_PixelFormat sdl_rgba_8888 = { +static const SDL_PixelFormat sdl_rgba_8888 = +{ FORMAT (8, 8, 8, 8, 24, 16, 8, 0) }; -- cgit v1.1