From 4fd277481acbf069fee8929003ec9407e990a9b3 Mon Sep 17 00:00:00 2001 From: Nicolas Pennequin Date: Sat, 29 Mar 2008 14:09:14 +0000 Subject: Correct some windows line endings back to unix. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16877 a1c6a512-1295-4272-9138-f99709370657 --- apps/buffering.c | 16 ++++++++-------- apps/voice_thread.c | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/buffering.c b/apps/buffering.c index 938cc95..e642142 100644 --- a/apps/buffering.c +++ b/apps/buffering.c @@ -874,8 +874,8 @@ management functions for all the actual handle management work. queued to be opened, otherwise the handle for the file in the buffer */ int bufopen(const char *file, size_t offset, enum data_type type) -{ - size_t adjusted_offset = offset; +{ + size_t adjusted_offset = offset; int fd = open(file, O_RDONLY); if (fd < 0) @@ -1098,7 +1098,7 @@ static struct memory_handle *prep_bufdata(int handle_id, size_t *size, */ ssize_t bufread(int handle_id, size_t size, void *dest) { - const struct memory_handle *h; + const struct memory_handle *h; size_t adjusted_size = size; h = prep_bufdata(handle_id, &adjusted_size, false); @@ -1132,7 +1132,7 @@ ssize_t bufread(int handle_id, size_t size, void *dest) ssize_t bufgetdata(int handle_id, size_t size, void **data) { const struct memory_handle *h; - size_t adjusted_size = size; + size_t adjusted_size = size; h = prep_bufdata(handle_id, &adjusted_size, true); if (!h) @@ -1186,7 +1186,7 @@ ssize_t bufgettail(int handle_id, size_t size, void **data) ssize_t bufcuttail(int handle_id, size_t size) { - struct memory_handle *h; + struct memory_handle *h; size_t adjusted_size = size; h = find_handle(handle_id); @@ -1315,7 +1315,7 @@ static void call_buffering_callbacks(enum callback_event ev, int value) } } -static void shrink_buffer_inner(struct memory_handle *h) +static void shrink_buffer_inner(struct memory_handle *h) { if (h == NULL) return; @@ -1325,7 +1325,7 @@ static void shrink_buffer_inner(struct memory_handle *h) shrink_handle(h); } -static void shrink_buffer(void) +static void shrink_buffer(void) { logf("shrink_buffer()"); shrink_buffer_inner(first_handle); @@ -1450,7 +1450,7 @@ void buffering_thread(void) } } -void buffering_init(void) +void buffering_init(void) { mutex_init(&llist_mutex); #ifdef HAVE_PRIORITY_SCHEDULING diff --git a/apps/voice_thread.c b/apps/voice_thread.c index 98b9caf..0da4411 100644 --- a/apps/voice_thread.c +++ b/apps/voice_thread.c @@ -22,7 +22,7 @@ #include "voice_thread.h" #include "talk.h" #include "dsp.h" -#include "audio.h" +#include "audio.h" #include "playback.h" #include "pcmbuf.h" #include "codecs/libspeex/speex/speex.h" -- cgit v1.1