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
This commit is contained in:
Nils Wallménius 2008-12-03 12:04:52 +00:00
parent 874f4376ff
commit c616520dc5

View file

@ -391,7 +391,8 @@ void pcmbuf_play_stop(void)
#endif #endif
} }
int pcmbuf_used_descs(void) { int pcmbuf_used_descs(void)
{
struct pcmbufdesc *pcmbuf_temp = pcmbuf_read; struct pcmbufdesc *pcmbuf_temp = pcmbuf_read;
unsigned int i = 0; unsigned int i = 0;
while (pcmbuf_temp) { while (pcmbuf_temp) {
@ -401,11 +402,13 @@ int pcmbuf_used_descs(void) {
return i; return i;
} }
int pcmbuf_descs(void) { int pcmbuf_descs(void)
{
return PCMBUF_DESCS(pcmbuf_size); return PCMBUF_DESCS(pcmbuf_size);
} }
static void pcmbuf_init_pcmbuffers(void) { static void pcmbuf_init_pcmbuffers(void)
{
struct pcmbufdesc *next = pcmbuf_write; struct pcmbufdesc *next = pcmbuf_write;
next++; next++;
pcmbuf_write_end = pcmbuf_write; pcmbuf_write_end = pcmbuf_write;