1
0
Fork 0
forked from len0rd/rockbox

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,6 +20,7 @@
* KIND, either express or implied.
*
****************************************************************************/
#include "config.h"
#include "system.h"
#include "kernel.h"

View file

@ -18,6 +18,9 @@
* {,U}INT{8,16,32,64}_{MIN,MAX} */
#include "system.h"
/* HZ, TIME_AFTER */
#include "kernel.h"
/* Structure to record some info during processing call */
struct dsp_loop_context
{

View file

@ -38,6 +38,7 @@
ahead by whole lines, or read the next chunk of the current line
*/
#define ROCKBOX_DEBUG_BMP_LOADER
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@ -53,7 +54,7 @@
#include "lcd-remote.h"
#endif
#ifdef ROCKBOX_DEBUG_BMP_LOADER
#define BDEBUGF DEBUGF
#define BDEBUGF printf
#else
#define BDEBUGF(...)
#endif
@ -774,6 +775,7 @@ int read_bmp_fd(int fd,
#endif
.alpha_detected = false, .first_alpha_byte = 0x80,
.order = order,
.buf = NULL,
};
#if (LCD_DEPTH > 1 || (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1)) && \

View file

@ -31,12 +31,14 @@
*
****************************************************************************/
#include <system.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <general.h>
#include "inttypes.h"
#include <stdint.h>
#include "general.h"
#include "kernel.h"
#include "system.h"
#ifndef PLUGIN
#include "debug.h"
#endif

View file

@ -18,8 +18,10 @@
* KIND, either express or implied.
*
****************************************************************************/
#include "config.h"
#include "system.h"
#include "kernel.h"
#include "core_alloc.h"
#include "thread.h"
#include "appevents.h"