diff options
| author | Dave Chapman <dave@dchapman.com> | 2007-05-07 13:32:56 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2007-05-07 13:32:56 +0000 |
| commit | 1feb8bd4a11cdfc552799958ad8539090eec2b74 (patch) | |
| tree | 1709dc7be87b5aec74c1a19967a8a8818cdc3447 | |
| parent | 9a011f3a80e93c7a70f6f0397a07c74df84b7c5d (diff) | |
| download | rockbox-1feb8bd4a11cdfc552799958ad8539090eec2b74.zip rockbox-1feb8bd4a11cdfc552799958ad8539090eec2b74.tar.gz rockbox-1feb8bd4a11cdfc552799958ad8539090eec2b74.tar.bz2 rockbox-1feb8bd4a11cdfc552799958ad8539090eec2b74.tar.xz | |
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
| -rw-r--r-- | apps/codecs.h | 11 | ||||
| -rw-r--r-- | apps/cuesheet.c | 1 | ||||
| -rw-r--r-- | apps/playback.h | 2 | ||||
| -rw-r--r-- | apps/tagcache.c | 3 |
4 files changed, 4 insertions, 13 deletions
diff --git a/apps/codecs.h b/apps/codecs.h index 3a3970b..3823e72 100644 --- a/apps/codecs.h +++ b/apps/codecs.h @@ -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 diff --git a/apps/cuesheet.c b/apps/cuesheet.c index 970959b..afd0ba1 100644 --- a/apps/cuesheet.c +++ b/apps/cuesheet.c @@ -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" diff --git a/apps/playback.h b/apps/playback.h index cf7547e..9a8bd10 100644 --- a/apps/playback.h +++ b/apps/playback.h @@ -20,8 +20,6 @@ #ifndef _PLAYBACK_H #define _PLAYBACK_H -#include <stdlib.h> -#include <ctype.h> #include <stdbool.h> #include "id3.h" diff --git a/apps/tagcache.c b/apps/tagcache.c index e917d55..08e89eb 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c @@ -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) |