summaryrefslogtreecommitdiffstats
path: root/firmware/font.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-01-05 01:22:19 +0100
committerThomas Martitz <kugel@rockbox.org>2014-01-05 19:35:23 +0100
commit281d1fadb34242347da379ddeba75d2195148b4c (patch)
treedd1d1fb044d4e905c56b73e94d88a47ccc215a71 /firmware/font.c
parentdd7b14173647c6e3326d705e5c4d802a35711030 (diff)
downloadrockbox-281d1fadb34242347da379ddeba75d2195148b4c.tar.gz
rockbox-281d1fadb34242347da379ddeba75d2195148b4c.tar.bz2
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 'firmware/font.c')
-rw-r--r--firmware/font.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/firmware/font.c b/firmware/font.c
index 06f104054f..e7a574f0dd 100644
--- a/firmware/font.c
+++ b/firmware/font.c
@@ -24,14 +24,16 @@
* loaded at startup, as well as their mapping into
* the FONT_SYSFIXED, FONT_UI and FONT_MP3 ids.
*/
-#include "config.h"
-
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
-#include "inttypes.h"
-#include "lcd.h"
+#include <stdint.h>
+#include <stddef.h>
+
+#include "config.h"
#include "system.h"
+#include "kernel.h"
+#include "lcd.h"
#include "font.h"
#include "file.h"
#include "core_alloc.h"