diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-03-15 20:44:11 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-03-15 20:44:11 +0000 |
commit | 990d19fd6d925da5856de50fd84d8656e762b83c (patch) | |
tree | 78a21bfb29c4d0d4f10900714b098fb437695125 /sim/bfin/gui.c | |
parent | 227d265839dcb5f90383a23e36dc7d0a5df62075 (diff) | |
download | gdb-990d19fd6d925da5856de50fd84d8656e762b83c.zip gdb-990d19fd6d925da5856de50fd84d8656e762b83c.tar.gz gdb-990d19fd6d925da5856de50fd84d8656e762b83c.tar.bz2 |
sim: bfin: fix brace style
Diffstat (limited to 'sim/bfin/gui.c')
-rw-r--r-- | sim/bfin/gui.c | 18 |
1 files changed, 12 insertions, 6 deletions
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) }; |