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/plugins/zxbox/snapshot.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/plugins/zxbox/snapshot.c')
-rw-r--r-- | apps/plugins/zxbox/snapshot.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/zxbox/snapshot.c b/apps/plugins/zxbox/snapshot.c index 0b80b64497..468f46667e 100644 --- a/apps/plugins/zxbox/snapshot.c +++ b/apps/plugins/zxbox/snapshot.c | |||
@@ -18,8 +18,9 @@ | |||
18 | * | 18 | * |
19 | */ | 19 | */ |
20 | 20 | ||
21 | #include <stdlib.h> | ||
22 | #include <string.h> /* size_t */ | ||
21 | #include "zxmisc.h" | 23 | #include "zxmisc.h" |
22 | #include "helpers.h" | ||
23 | #include "spperif.h" | 24 | #include "spperif.h" |
24 | #include "z80.h" | 25 | #include "z80.h" |
25 | 26 | ||
@@ -29,9 +30,8 @@ | |||
29 | 30 | ||
30 | #include "spconf.h" | 31 | #include "spconf.h" |
31 | 32 | ||
32 | #include <stdio.h> | 33 | /* include this at last to avoid clashes with stdio functions */ |
33 | #include <stdlib.h> | 34 | #include "helpers.h" |
34 | #include <sys/types.h> | ||
35 | 35 | ||
36 | #define COMPRESS_SAVE 1 | 36 | #define COMPRESS_SAVE 1 |
37 | 37 | ||