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 --- apps/metadata/metadata_common.c | 2 +- apps/metadata/metadata_common.h | 1 + apps/metadata/mp3.c | 4 ++-- apps/metadata/smaf.c | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) (limited to 'apps/metadata') diff --git a/apps/metadata/metadata_common.c b/apps/metadata/metadata_common.c index fd1cd553e8..e1ef9a0d62 100644 --- a/apps/metadata/metadata_common.c +++ b/apps/metadata/metadata_common.c @@ -19,7 +19,7 @@ * ****************************************************************************/ #include -#include +#include "string-extra.h" #include #include #include diff --git a/apps/metadata/metadata_common.h b/apps/metadata/metadata_common.h index 3962e2cd17..b2c76afb45 100644 --- a/apps/metadata/metadata_common.h +++ b/apps/metadata/metadata_common.h @@ -18,6 +18,7 @@ * KIND, either express or implied. * ****************************************************************************/ +#include #include "metadata.h" #ifdef ROCKBOX_BIG_ENDIAN diff --git a/apps/metadata/mp3.c b/apps/metadata/mp3.c index 84c565b8be..49d5c7362e 100644 --- a/apps/metadata/mp3.c +++ b/apps/metadata/mp3.c @@ -30,11 +30,11 @@ #include #include -#include #include #include #include -#include +#include +#include "string-extra.h" #include "config.h" #include "file.h" #include "logf.h" diff --git a/apps/metadata/smaf.c b/apps/metadata/smaf.c index ca5b690e0b..fa12c99fb9 100644 --- a/apps/metadata/smaf.c +++ b/apps/metadata/smaf.c @@ -18,9 +18,9 @@ * KIND, either express or implied. * ****************************************************************************/ -#include #include +#include "string-extra.h" #include "system.h" #include "metadata.h" #include "metadata_common.h" -- cgit v1.2.3