summaryrefslogtreecommitdiffstats
path: root/apps/pcmbuf.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2008-12-03 12:04:52 +0000
committerNils Wallménius <nils@rockbox.org>2008-12-03 12:04:52 +0000
commitc616520dc5caec6acd3430381fcc9495e1562bc4 (patch)
treecd6976cd1e39bc61301fd02ec5bbacb8fe1568ed /apps/pcmbuf.c
parent874f4376ffeaf77af72df8537851980475d775f9 (diff)
downloadrockbox-c616520dc5caec6acd3430381fcc9495e1562bc4.tar.gz
rockbox-c616520dc5caec6acd3430381fcc9495e1562bc4.tar.bz2
rockbox-c616520dc5caec6acd3430381fcc9495e1562bc4.zip
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
Diffstat (limited to 'apps/pcmbuf.c')
-rw-r--r--apps/pcmbuf.c9
1 files 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;