diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2009-01-31 23:51:11 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2009-01-31 23:51:11 +0000 |
commit | 8e2ff63a7e1f7c493d867c8b4982feacf6f781ca (patch) | |
tree | 191c9b1337b7a5a5c94a1e43559f8504717ddb0d /firmware/target/arm | |
parent | 1929e4724578a94143bab07487fb1e14ebaee9cf (diff) |
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/arm')
-rw-r--r-- | firmware/target/arm/iriver/h10/fmradio_i2c-h10.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/target/arm/iriver/h10/fmradio_i2c-h10.c b/firmware/target/arm/iriver/h10/fmradio_i2c-h10.c index e976a6e054..bee1c6ebfb 100644 --- a/firmware/target/arm/iriver/h10/fmradio_i2c-h10.c +++ b/firmware/target/arm/iriver/h10/fmradio_i2c-h10.c @@ -23,6 +23,7 @@ #include "cpu.h" #include "logf.h" #include "system.h" +#include "fmradio_i2c.h" /* cute little functions, atomic read-modify-write */ @@ -161,7 +162,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; @@ -188,7 +189,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; |