summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2008-04-28 10:22:05 +0000
committerBertrik Sikken <bertrik@sikken.nl>2008-04-28 10:22:05 +0000
commita5d3029c82ff0f47f8ea6608e84995f360f2adad (patch)
tree12e96ef91eb0ffd87724703018131a3622add073 /firmware/export
parent8391526f794b296e5b6edd5707bbf25b5be73e17 (diff)
downloadrockbox-a5d3029c82ff0f47f8ea6608e84995f360f2adad.zip
rockbox-a5d3029c82ff0f47f8ea6608e84995f360f2adad.tar.gz
rockbox-a5d3029c82ff0f47f8ea6608e84995f360f2adad.tar.bz2
rockbox-a5d3029c82ff0f47f8ea6608e84995f360f2adad.tar.xz
Update source files to include the header file for the functions they implement, to make sure the header and the implementation is consistent (and fix it for a case where it wasn't).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17275 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/i2c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/i2c.h b/firmware/export/i2c.h
index ed9a5e6..ba694d0 100644
--- a/firmware/export/i2c.h
+++ b/firmware/export/i2c.h
@@ -22,7 +22,7 @@
extern void i2c_init(void);
extern void i2c_begin(void);
extern void i2c_end(void);
-extern int i2c_write(int device, unsigned char* buf, int count );
+extern int i2c_write(int device, const unsigned char* buf, int count );
extern int i2c_read(int device, unsigned char* buf, int count );
extern int i2c_readmem(int device, int address, unsigned char* buf, int count );
extern void i2c_outb(unsigned char byte);