From c616520dc5caec6acd3430381fcc9495e1562bc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Wallm=C3=A9nius?= Date: Wed, 3 Dec 2008 12:04:52 +0000 Subject: [PATCH] Style police, place opening braces for function definitions on new lines git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19312 a1c6a512-1295-4272-9138-f99709370657 --- apps/pcmbuf.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/pcmbuf.c b/apps/pcmbuf.c index a25723a299..61c6c45de2 100644 --- a/apps/pcmbuf.c +++ b/apps/pcmbuf.c @@ -391,7 +391,8 @@ void pcmbuf_play_stop(void) #endif } -int pcmbuf_used_descs(void) { +int pcmbuf_used_descs(void) +{ struct pcmbufdesc *pcmbuf_temp = pcmbuf_read; unsigned int i = 0; while (pcmbuf_temp) { @@ -401,11 +402,13 @@ int pcmbuf_used_descs(void) { return i; } -int pcmbuf_descs(void) { +int pcmbuf_descs(void) +{ return PCMBUF_DESCS(pcmbuf_size); } -static void pcmbuf_init_pcmbuffers(void) { +static void pcmbuf_init_pcmbuffers(void) +{ struct pcmbufdesc *next = pcmbuf_write; next++; pcmbuf_write_end = pcmbuf_write;