forked from len0rd/rockbox
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
This commit is contained in:
parent
1929e47245
commit
8e2ff63a7e
7 changed files with 13 additions and 10 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue