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 /firmware/target/hosted | |
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 'firmware/target/hosted')
-rw-r--r-- | firmware/target/hosted/android/pcm-android.c | 3 | ||||
-rw-r--r-- | firmware/target/hosted/kernel-unix.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/firmware/target/hosted/android/pcm-android.c b/firmware/target/hosted/android/pcm-android.c index 0608e971a7..23a003ff73 100644 --- a/firmware/target/hosted/android/pcm-android.c +++ b/firmware/target/hosted/android/pcm-android.c | |||
@@ -22,8 +22,9 @@ | |||
22 | #include <jni.h> | 22 | #include <jni.h> |
23 | #include <stdbool.h> | 23 | #include <stdbool.h> |
24 | #define _SYSTEM_WITH_JNI /* for getJavaEnvironment */ | 24 | #define _SYSTEM_WITH_JNI /* for getJavaEnvironment */ |
25 | #include <system.h> | ||
26 | #include <pthread.h> | 25 | #include <pthread.h> |
26 | #include "system.h" | ||
27 | #include "kernel.h" | ||
27 | #include "debug.h" | 28 | #include "debug.h" |
28 | #include "pcm.h" | 29 | #include "pcm.h" |
29 | #include "pcm-internal.h" | 30 | #include "pcm-internal.h" |
diff --git a/firmware/target/hosted/kernel-unix.c b/firmware/target/hosted/kernel-unix.c index a0167d46c5..e3c492a8cc 100644 --- a/firmware/target/hosted/kernel-unix.c +++ b/firmware/target/hosted/kernel-unix.c | |||
@@ -26,8 +26,10 @@ | |||
26 | #include <errno.h> | 26 | #include <errno.h> |
27 | #include <unistd.h> | 27 | #include <unistd.h> |
28 | #include <pthread.h> | 28 | #include <pthread.h> |
29 | |||
29 | #include "config.h" | 30 | #include "config.h" |
30 | #include "system.h" | 31 | #include "system.h" |
32 | #include "kernel.h" | ||
31 | #include "button.h" | 33 | #include "button.h" |
32 | #include "audio.h" | 34 | #include "audio.h" |
33 | #include "panic.h" | 35 | #include "panic.h" |
@@ -165,4 +167,3 @@ void timer_unregister(void) | |||
165 | timer_delete(timer_tid); | 167 | timer_delete(timer_tid); |
166 | timer_prio = -1; | 168 | timer_prio = -1; |
167 | } | 169 | } |
168 | |||