From d767883a417667ceebf5bb241d02337f34bc8016 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Thu, 6 Aug 2009 09:28:25 +0000 Subject: Various files: make functions static if they're local or make sure there is a proper #include if not git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22184 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/coldfire/iriver/h100/backlight-h100.c | 2 +- firmware/target/coldfire/iriver/h300/backlight-h300.c | 1 + firmware/target/coldfire/pcf50606-coldfire.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'firmware/target/coldfire') diff --git a/firmware/target/coldfire/iriver/h100/backlight-h100.c b/firmware/target/coldfire/iriver/h100/backlight-h100.c index 1b61f31ea4..47c02cb351 100644 --- a/firmware/target/coldfire/iriver/h100/backlight-h100.c +++ b/firmware/target/coldfire/iriver/h100/backlight-h100.c @@ -21,9 +21,9 @@ #include "config.h" #include "cpu.h" #include "kernel.h" -#include "thread.h" #include "system.h" #include "backlight.h" +#include "backlight-target.h" #include "lcd.h" /* Returns the current state of the backlight (true=ON, false=OFF). */ diff --git a/firmware/target/coldfire/iriver/h300/backlight-h300.c b/firmware/target/coldfire/iriver/h300/backlight-h300.c index 7f63e75976..64e09b9b40 100644 --- a/firmware/target/coldfire/iriver/h300/backlight-h300.c +++ b/firmware/target/coldfire/iriver/h300/backlight-h300.c @@ -24,6 +24,7 @@ #include "thread.h" #include "system.h" #include "backlight.h" +#include "backlight-target.h" #include "pcf50606.h" #include "lcd.h" diff --git a/firmware/target/coldfire/pcf50606-coldfire.c b/firmware/target/coldfire/pcf50606-coldfire.c index 03c22a12e9..6206ae4deb 100644 --- a/firmware/target/coldfire/pcf50606-coldfire.c +++ b/firmware/target/coldfire/pcf50606-coldfire.c @@ -447,7 +447,7 @@ unsigned char pcf50606_i2c_inb(bool ack) return byte; } -int pcf50606_i2c_write(int address, const unsigned char* buf, int count) +static int pcf50606_i2c_write(int address, const unsigned char* buf, int count) { int i,x=0; -- cgit v1.2.3