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/shortcuts | |
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/shortcuts')
-rw-r--r-- | apps/plugins/shortcuts/shortcuts.h | 2 | ||||
-rw-r--r-- | apps/plugins/shortcuts/shortcuts_common.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/shortcuts/shortcuts.h b/apps/plugins/shortcuts/shortcuts.h index bfe3540c4d..3d6c421c5a 100644 --- a/apps/plugins/shortcuts/shortcuts.h +++ b/apps/plugins/shortcuts/shortcuts.h | |||
@@ -51,7 +51,7 @@ typedef struct sc_file_s | |||
51 | 51 | ||
52 | 52 | ||
53 | extern void *memory_buf; | 53 | extern void *memory_buf; |
54 | extern long memory_bufsize; | 54 | extern size_t memory_bufsize; |
55 | 55 | ||
56 | 56 | ||
57 | extern sc_file_t sc_file; | 57 | extern sc_file_t sc_file; |
diff --git a/apps/plugins/shortcuts/shortcuts_common.c b/apps/plugins/shortcuts/shortcuts_common.c index dee1657afc..da212a55a3 100644 --- a/apps/plugins/shortcuts/shortcuts_common.c +++ b/apps/plugins/shortcuts/shortcuts_common.c | |||
@@ -35,7 +35,7 @@ | |||
35 | 35 | ||
36 | /* Memory (will be used for entries) */ | 36 | /* Memory (will be used for entries) */ |
37 | void *memory_buf; | 37 | void *memory_buf; |
38 | long memory_bufsize; /* Size of memory_buf in bytes */ | 38 | size_t memory_bufsize; /* Size of memory_buf in bytes */ |
39 | 39 | ||
40 | 40 | ||
41 | /* The file we're processing */ | 41 | /* The file we're processing */ |