summaryrefslogtreecommitdiffstats
path: root/firmware/target/sh
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2009-01-31 23:51:11 +0000
committerBertrik Sikken <bertrik@sikken.nl>2009-01-31 23:51:11 +0000
commit8e2ff63a7e1f7c493d867c8b4982feacf6f781ca (patch)
tree191c9b1337b7a5a5c94a1e43559f8504717ddb0d /firmware/target/sh
parent1929e4724578a94143bab07487fb1e14ebaee9cf (diff)
downloadrockbox-8e2ff63a7e1f7c493d867c8b4982feacf6f781ca.tar.gz
rockbox-8e2ff63a7e1f7c493d867c8b4982feacf6f781ca.tar.bz2
rockbox-8e2ff63a7e1f7c493d867c8b4982feacf6f781ca.zip
Various files: make function implementations consistent with their declaration in the header file or static if
they're local. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19892 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/sh')
-rw-r--r--firmware/target/sh/archos/ondio/fmradio_i2c-ondio.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/target/sh/archos/ondio/fmradio_i2c-ondio.c b/firmware/target/sh/archos/ondio/fmradio_i2c-ondio.c
index a101fb1fa9..35585259d2 100644
--- a/firmware/target/sh/archos/ondio/fmradio_i2c-ondio.c
+++ b/firmware/target/sh/archos/ondio/fmradio_i2c-ondio.c
@@ -23,6 +23,7 @@
#include "cpu.h"
#include "logf.h"
#include "system.h"
+#include "fmradio_i2c.h"
#if (CONFIG_TUNER & TEA5767)
@@ -150,7 +151,7 @@ static unsigned char fmradio_i2c_inb(void)
return byte;
}
-int fmradio_i2c_write(int address, const unsigned char* buf, int count)
+int fmradio_i2c_write(unsigned char address, const unsigned char* buf, int count)
{
int i,x=0;
@@ -177,7 +178,7 @@ int fmradio_i2c_write(int address, const unsigned char* buf, int count)
return x;
}
-int fmradio_i2c_read(int address, unsigned char* buf, int count)
+int fmradio_i2c_read(unsigned char address, unsigned char* buf, int count)
{
int i,x=0;