forked from len0rd/rockbox
Minor header file cleanup - try and include the minimal number of files, and only where they are needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13344 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9a011f3a80
commit
1feb8bd4a1
4 changed files with 4 additions and 13 deletions
|
|
@ -30,32 +30,23 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <sys/types.h>
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "dir.h"
|
|
||||||
#include "kernel.h"
|
#include "kernel.h"
|
||||||
#include "font.h"
|
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
#include "id3.h"
|
#include "id3.h"
|
||||||
#include "mpeg.h"
|
|
||||||
#include "audio.h"
|
#include "audio.h"
|
||||||
#include "mp3_playback.h"
|
|
||||||
#ifdef RB_PROFILE
|
#ifdef RB_PROFILE
|
||||||
#include "profile.h"
|
#include "profile.h"
|
||||||
|
#include "thread.h"
|
||||||
#endif
|
#endif
|
||||||
#if (CONFIG_CODEC == SWCODEC)
|
#if (CONFIG_CODEC == SWCODEC)
|
||||||
#if !defined(SIMULATOR) && defined(HAVE_RECORDING)
|
#if !defined(SIMULATOR) && defined(HAVE_RECORDING)
|
||||||
#include "pcm_record.h"
|
#include "pcm_record.h"
|
||||||
#endif
|
#endif
|
||||||
#include "dsp.h"
|
#include "dsp.h"
|
||||||
#include "playback.h"
|
|
||||||
#endif
|
#endif
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "thread.h"
|
|
||||||
#include "playlist.h"
|
|
||||||
#include "sound.h"
|
|
||||||
|
|
||||||
#ifdef CODEC
|
#ifdef CODEC
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <atoi.h>
|
#include <atoi.h>
|
||||||
|
#include <ctype.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
#include "audio.h"
|
#include "audio.h"
|
||||||
|
|
|
||||||
|
|
@ -20,8 +20,6 @@
|
||||||
#ifndef _PLAYBACK_H
|
#ifndef _PLAYBACK_H
|
||||||
#define _PLAYBACK_H
|
#define _PLAYBACK_H
|
||||||
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include "id3.h"
|
#include "id3.h"
|
||||||
|
|
|
||||||
|
|
@ -54,6 +54,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <ctype.h>
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "thread.h"
|
#include "thread.h"
|
||||||
#include "kernel.h"
|
#include "kernel.h"
|
||||||
|
|
@ -78,7 +80,6 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __PCTOOL__
|
#ifdef __PCTOOL__
|
||||||
#include <ctype.h>
|
|
||||||
#define yield() do { } while(0)
|
#define yield() do { } while(0)
|
||||||
#define sim_sleep(timeout) do { } while(0)
|
#define sim_sleep(timeout) do { } while(0)
|
||||||
#define do_timed_yield() do { } while(0)
|
#define do_timed_yield() do { } while(0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue