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
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
#include "config.h"
|
||||
#include "dir.h"
|
||||
#include "kernel.h"
|
||||
#include "font.h"
|
||||
#include "system.h"
|
||||
#include "id3.h"
|
||||
#include "mpeg.h"
|
||||
#include "audio.h"
|
||||
#include "mp3_playback.h"
|
||||
#ifdef RB_PROFILE
|
||||
#include "profile.h"
|
||||
#include "thread.h"
|
||||
#endif
|
||||
#if (CONFIG_CODEC == SWCODEC)
|
||||
#if !defined(SIMULATOR) && defined(HAVE_RECORDING)
|
||||
#include "pcm_record.h"
|
||||
#endif
|
||||
#include "dsp.h"
|
||||
#include "playback.h"
|
||||
#endif
|
||||
#include "settings.h"
|
||||
#include "thread.h"
|
||||
#include "playlist.h"
|
||||
#include "sound.h"
|
||||
|
||||
#ifdef CODEC
|
||||
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
#include <atoi.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include "system.h"
|
||||
#include "audio.h"
|
||||
|
|
|
|||
|
|
@ -20,8 +20,6 @@
|
|||
#ifndef _PLAYBACK_H
|
||||
#define _PLAYBACK_H
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "id3.h"
|
||||
|
|
|
|||
|
|
@ -54,6 +54,8 @@
|
|||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include "config.h"
|
||||
#include "thread.h"
|
||||
#include "kernel.h"
|
||||
|
|
@ -78,7 +80,6 @@
|
|||
#endif
|
||||
|
||||
#ifdef __PCTOOL__
|
||||
#include <ctype.h>
|
||||
#define yield() do { } while(0)
|
||||
#define sim_sleep(timeout) do { } while(0)
|
||||
#define do_timed_yield() do { } while(0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue