diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-05-06 21:04:40 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-05-06 21:04:40 +0000 |
commit | 50a6ca39ad4ed01922aa4f755f0ca579788226cf (patch) | |
tree | c7881b015b220558167310345b162324c96be15a /apps/misc.c | |
parent | adb506df14aded06ed6e9ebf8540e6fd383ffd6a (diff) | |
download | rockbox-50a6ca39ad4ed01922aa4f755f0ca579788226cf.tar.gz rockbox-50a6ca39ad4ed01922aa4f755f0ca579788226cf.zip |
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
Diffstat (limited to 'apps/misc.c')
-rw-r--r-- | apps/misc.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/apps/misc.c b/apps/misc.c index 22f21d2106..3dfc2892ca 100644 --- a/apps/misc.c +++ b/apps/misc.c | |||
@@ -20,17 +20,15 @@ | |||
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | #include <stdlib.h> | 21 | #include <stdlib.h> |
22 | #include <ctype.h> | 22 | #include <ctype.h> |
23 | #include <string.h> | 23 | #include <stdio.h> |
24 | #include <stdarg.h> | ||
24 | #include <errno.h> | 25 | #include <errno.h> |
26 | #include "string-extra.h" | ||
25 | #include "config.h" | 27 | #include "config.h" |
26 | #include "misc.h" | 28 | #include "misc.h" |
27 | #include "lcd.h" | 29 | #include "lcd.h" |
28 | #include "file.h" | 30 | #include "file.h" |
29 | #ifdef __PCTOOL__ | 31 | #ifndef __PCTOOL__ |
30 | #include <stdarg.h> | ||
31 | #include <stdio.h> | ||
32 | #else | ||
33 | #include "sprintf.h" | ||
34 | #include "lang.h" | 32 | #include "lang.h" |
35 | #include "dir.h" | 33 | #include "dir.h" |
36 | #include "lcd-remote.h" | 34 | #include "lcd-remote.h" |