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
This commit is contained in:
Thomas Martitz 2014-01-05 01:22:19 +01:00
parent dd7b141736
commit 281d1fadb3
16 changed files with 41 additions and 18 deletions

View file

@ -20,10 +20,11 @@
****************************************************************************/
#include <stdbool.h>
#include "system.h"
#include "kernel.h"
#include "button.h"
#include "lcd.h"
#include "font.h"
#include "system.h"
#include "cpu.h"
#include "pl180.h"
#include "ascodec.h"

View file

@ -19,11 +19,12 @@
* KIND, either express or implied.
*
****************************************************************************/
#include "config.h"
#include "config.h"
#include "cpu.h"
#include "lcd.h"
#include "system.h"
#include "kernel.h"
#include "lcd.h"
#include "file.h"
#include "clock-target.h"
#include "dbop-as3525.h"

View file

@ -21,6 +21,7 @@
#include "config.h"
#include "system.h"
#include "kernel.h"
#include "button.h"
#include "backlight.h"

View file

@ -22,9 +22,10 @@
#ifndef SYSTEM_TARGET_H
#define SYSTEM_TARGET_H
#include <stdbool.h>
#include "config.h"
#include "system-arm.h"
#include <stdbool.h>
#include "kernel.h"
/* TODO: This header could be split in 2 */

View file

@ -22,8 +22,9 @@
#include <jni.h>
#include <stdbool.h>
#define _SYSTEM_WITH_JNI /* for getJavaEnvironment */
#include <system.h>
#include <pthread.h>
#include "system.h"
#include "kernel.h"
#include "debug.h"
#include "pcm.h"
#include "pcm-internal.h"

View file

@ -26,8 +26,10 @@
#include <errno.h>
#include <unistd.h>
#include <pthread.h>
#include "config.h"
#include "system.h"
#include "kernel.h"
#include "button.h"
#include "audio.h"
#include "panic.h"
@ -165,4 +167,3 @@ void timer_unregister(void)
timer_delete(timer_tid);
timer_prio = -1;
}