diff options
author | Nils Wallménius <nils@rockbox.org> | 2008-12-03 12:04:52 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2008-12-03 12:04:52 +0000 |
commit | c616520dc5caec6acd3430381fcc9495e1562bc4 (patch) | |
tree | cd6976cd1e39bc61301fd02ec5bbacb8fe1568ed | |
parent | 874f4376ffeaf77af72df8537851980475d775f9 (diff) | |
download | rockbox-c616520dc5caec6acd3430381fcc9495e1562bc4.tar.gz 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
-rw-r--r-- | apps/pcmbuf.c | 9 |
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) | |||
391 | #endif | 391 | #endif |
392 | } | 392 | } |
393 | 393 | ||
394 | int pcmbuf_used_descs(void) { | 394 | int pcmbuf_used_descs(void) |
395 | { | ||
395 | struct pcmbufdesc *pcmbuf_temp = pcmbuf_read; | 396 | struct pcmbufdesc *pcmbuf_temp = pcmbuf_read; |
396 | unsigned int i = 0; | 397 | unsigned int i = 0; |
397 | while (pcmbuf_temp) { | 398 | while (pcmbuf_temp) { |
@@ -401,11 +402,13 @@ int pcmbuf_used_descs(void) { | |||
401 | return i; | 402 | return i; |
402 | } | 403 | } |
403 | 404 | ||
404 | int pcmbuf_descs(void) { | 405 | int pcmbuf_descs(void) |
406 | { | ||
405 | return PCMBUF_DESCS(pcmbuf_size); | 407 | return PCMBUF_DESCS(pcmbuf_size); |
406 | } | 408 | } |
407 | 409 | ||
408 | static void pcmbuf_init_pcmbuffers(void) { | 410 | static void pcmbuf_init_pcmbuffers(void) |
411 | { | ||
409 | struct pcmbufdesc *next = pcmbuf_write; | 412 | struct pcmbufdesc *next = pcmbuf_write; |
410 | next++; | 413 | next++; |
411 | pcmbuf_write_end = pcmbuf_write; | 414 | pcmbuf_write_end = pcmbuf_write; |