From 135cc757bda4714aca2831f7d75b7a4c1c4f7763 Mon Sep 17 00:00:00 2001 From: Steve Bavin Date: Fri, 28 Mar 2008 12:51:33 +0000 Subject: Revert my earlier const madness, we'll keep the parameter lists simple. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16863 a1c6a512-1295-4272-9138-f99709370657 --- apps/pcmbuf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/pcmbuf.c') diff --git a/apps/pcmbuf.c b/apps/pcmbuf.c index b9587d08dd..8f16c90523 100644 --- a/apps/pcmbuf.c +++ b/apps/pcmbuf.c @@ -82,7 +82,7 @@ static char *fadebuf IDATA_ATTR; static char *voicebuf IDATA_ATTR; static void (*pcmbuf_event_handler)(void) IDATA_ATTR; -static void (*position_callback)(const size_t size) IDATA_ATTR; +static void (*position_callback)(size_t size) IDATA_ATTR; /* Crossfade related state */ static bool crossfade_enabled; @@ -188,7 +188,7 @@ static void pcmbuf_callback(unsigned char** start, size_t* size) } } -void pcmbuf_set_position_callback(void (*callback)(const size_t size)) +void pcmbuf_set_position_callback(void (*callback)(size_t size)) { position_callback = callback; } @@ -938,7 +938,7 @@ void pcmbuf_write_complete(int count) } #if 0 -bool pcmbuf_insert_buffer(char *buf, const int count) +bool pcmbuf_insert_buffer(char *buf, int count) { size_t length = (size_t)(unsigned int)count << 2; -- cgit v1.2.3