summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorNicolas Pennequin <nicolas.pennequin@free.fr>2008-03-29 14:09:14 +0000
committerNicolas Pennequin <nicolas.pennequin@free.fr>2008-03-29 14:09:14 +0000
commit4fd277481acbf069fee8929003ec9407e990a9b3 (patch)
tree69b3f8ae33b15a8c07a6d2f59c7cc0a27e0f8c5a /apps
parentb71cbd599b54936953be7c385e1343d509924b15 (diff)
downloadrockbox-4fd277481acbf069fee8929003ec9407e990a9b3.tar.gz
rockbox-4fd277481acbf069fee8929003ec9407e990a9b3.tar.bz2
rockbox-4fd277481acbf069fee8929003ec9407e990a9b3.zip
Correct some windows line endings back to unix.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16877 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/buffering.c16
-rw-r--r--apps/voice_thread.c2
2 files changed, 9 insertions, 9 deletions
diff --git a/apps/buffering.c b/apps/buffering.c
index 938cc95620..e642142b58 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 98b9cafc83..0da441191f 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"