summaryrefslogtreecommitdiff
path: root/apps/plugins/zxbox/spsound.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2012-02-15 22:32:43 +0100
committerBertrik Sikken <bertrik@sikken.nl>2012-02-15 22:32:43 +0100
commitb193b75f62ff3be76f3cec120fe906c474b5caeb (patch)
treef33744a341b09e124e626be415730ca753396ce0 /apps/plugins/zxbox/spsound.c
parentf7fdf134681a35950edeb1054a1e095f7acec058 (diff)
downloadrockbox-b193b75f62ff3be76f3cec120fe906c474b5caeb.zip
rockbox-b193b75f62ff3be76f3cec120fe906c474b5caeb.tar.gz
rockbox-b193b75f62ff3be76f3cec120fe906c474b5caeb.tar.bz2
rockbox-b193b75f62ff3be76f3cec120fe906c474b5caeb.tar.xz
zxbox: make source files include their header file and make function static where possible
Change-Id: I0c87563ee29f46948e3a559c27b1b22d4404cec1
Diffstat (limited to 'apps/plugins/zxbox/spsound.c')
-rw-r--r--apps/plugins/zxbox/spsound.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/zxbox/spsound.c b/apps/plugins/zxbox/spsound.c
index 6a550e2..8b3aa3d 100644
--- a/apps/plugins/zxbox/spsound.c
+++ b/apps/plugins/zxbox/spsound.c
@@ -189,7 +189,7 @@ void autoclose_sound(void)
}
#endif
}
-void get_more(unsigned char** start, size_t* size)
+static void get_more(unsigned char** start, size_t* size)
{
doneplay = 1;
rb->pcm_play_stop();
@@ -199,7 +199,7 @@ void get_more(unsigned char** start, size_t* size)
/* sp_sound_buf is Unsigned 8 bit, Rate 8000 Hz, Mono */
-void write_buf(void){
+static void write_buf(void){
int i,j;
/* still not sure what is the best way to do this */