From 50a6ca39ad4ed01922aa4f755f0ca579788226cf Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Thu, 6 May 2010 21:04:40 +0000 Subject: Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/lcd-bitmap-common.c | 5 +++-- firmware/drivers/lcd-charcell.c | 1 - firmware/drivers/tuner/lv24020lp.c | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'firmware/drivers') diff --git a/firmware/drivers/lcd-bitmap-common.c b/firmware/drivers/lcd-bitmap-common.c index 8f0b61ef6a..1b31ee8a18 100644 --- a/firmware/drivers/lcd-bitmap-common.c +++ b/firmware/drivers/lcd-bitmap-common.c @@ -27,8 +27,9 @@ * KIND, either express or implied. * ****************************************************************************/ -#include "stdarg.h" -#include "sprintf.h" +#include +#include +#include "string-extra.h" #include "diacritic.h" #ifndef LCDFN /* Not compiling for remote - define macros for main LCD. */ diff --git a/firmware/drivers/lcd-charcell.c b/firmware/drivers/lcd-charcell.c index 8af08e64bb..0186c26106 100644 --- a/firmware/drivers/lcd-charcell.c +++ b/firmware/drivers/lcd-charcell.c @@ -22,7 +22,6 @@ #include "config.h" #include "hwcompat.h" #include "stdarg.h" -#include "sprintf.h" #include "lcd.h" #include "kernel.h" #include "thread.h" diff --git a/firmware/drivers/tuner/lv24020lp.c b/firmware/drivers/tuner/lv24020lp.c index 5f23338eee..75796a5d7b 100644 --- a/firmware/drivers/tuner/lv24020lp.c +++ b/firmware/drivers/tuner/lv24020lp.c @@ -40,7 +40,6 @@ static struct mutex tuner_mtx; #undef SANYO_TUNER_LOGF #ifdef SANYO_TUNER_LOG_FILE -#include "sprintf.h" #include "file.h" static int fd_log = -1; -- cgit v1.2.3