From 8e2ff63a7e1f7c493d867c8b4982feacf6f781ca Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Sat, 31 Jan 2009 23:51:11 +0000 Subject: 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 --- firmware/target/arm/iriver/h10/fmradio_i2c-h10.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'firmware/target/arm/iriver') 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; -- cgit