diff options
author | Thomas Martitz <kugel@rockbox.org> | 2014-01-05 01:22:19 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2014-01-05 19:35:23 +0100 |
commit | 281d1fadb34242347da379ddeba75d2195148b4c (patch) | |
tree | dd1d1fb044d4e905c56b73e94d88a47ccc215a71 /apps/recorder | |
parent | dd7b14173647c6e3326d705e5c4d802a35711030 (diff) | |
download | rockbox-281d1fadb34242347da379ddeba75d2195148b4c.tar.gz rockbox-281d1fadb34242347da379ddeba75d2195148b4c.zip |
Do not include kernel.h in system.h.
system.h doesn't need it on its own and this change makes it less
dependant on Rockbox internals.
Change-Id: I4e1e4108a52a7b599627a829204eb82b392fc6d6
Diffstat (limited to 'apps/recorder')
-rw-r--r-- | apps/recorder/bmp.c | 4 | ||||
-rw-r--r-- | apps/recorder/resize.c | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/apps/recorder/bmp.c b/apps/recorder/bmp.c index e4eb588eb3..dfd6a0474e 100644 --- a/apps/recorder/bmp.c +++ b/apps/recorder/bmp.c | |||
@@ -38,6 +38,7 @@ | |||
38 | ahead by whole lines, or read the next chunk of the current line | 38 | ahead by whole lines, or read the next chunk of the current line |
39 | */ | 39 | */ |
40 | 40 | ||
41 | #define ROCKBOX_DEBUG_BMP_LOADER | ||
41 | #include <stdio.h> | 42 | #include <stdio.h> |
42 | #include <stdlib.h> | 43 | #include <stdlib.h> |
43 | #include <string.h> | 44 | #include <string.h> |
@@ -53,7 +54,7 @@ | |||
53 | #include "lcd-remote.h" | 54 | #include "lcd-remote.h" |
54 | #endif | 55 | #endif |
55 | #ifdef ROCKBOX_DEBUG_BMP_LOADER | 56 | #ifdef ROCKBOX_DEBUG_BMP_LOADER |
56 | #define BDEBUGF DEBUGF | 57 | #define BDEBUGF printf |
57 | #else | 58 | #else |
58 | #define BDEBUGF(...) | 59 | #define BDEBUGF(...) |
59 | #endif | 60 | #endif |
@@ -774,6 +775,7 @@ int read_bmp_fd(int fd, | |||
774 | #endif | 775 | #endif |
775 | .alpha_detected = false, .first_alpha_byte = 0x80, | 776 | .alpha_detected = false, .first_alpha_byte = 0x80, |
776 | .order = order, | 777 | .order = order, |
778 | .buf = NULL, | ||
777 | }; | 779 | }; |
778 | 780 | ||
779 | #if (LCD_DEPTH > 1 || (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1)) && \ | 781 | #if (LCD_DEPTH > 1 || (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1)) && \ |
diff --git a/apps/recorder/resize.c b/apps/recorder/resize.c index 1e45b66a24..32384537d4 100644 --- a/apps/recorder/resize.c +++ b/apps/recorder/resize.c | |||
@@ -31,12 +31,14 @@ | |||
31 | * | 31 | * |
32 | ****************************************************************************/ | 32 | ****************************************************************************/ |
33 | 33 | ||
34 | #include <system.h> | ||
35 | #include <stdio.h> | 34 | #include <stdio.h> |
36 | #include <stdlib.h> | 35 | #include <stdlib.h> |
37 | #include <string.h> | 36 | #include <string.h> |
38 | #include <general.h> | 37 | #include <stdint.h> |
39 | #include "inttypes.h" | 38 | |
39 | #include "general.h" | ||
40 | #include "kernel.h" | ||
41 | #include "system.h" | ||
40 | #ifndef PLUGIN | 42 | #ifndef PLUGIN |
41 | #include "debug.h" | 43 | #include "debug.h" |
42 | #endif | 44 | #endif |