diff options
| author | Bertrik Sikken <bertrik@sikken.nl> | 2009-03-08 20:28:15 +0000 |
|---|---|---|
| committer | Bertrik Sikken <bertrik@sikken.nl> | 2009-03-08 20:28:15 +0000 |
| commit | b24fafbf148828f1262fc22a9e2a32951976836a (patch) | |
| tree | 3d11e061925bcb301030e185a28dae05a8df472c | |
| parent | 3f69f89d5f9100d5b0ac3c2d5ac5ca36f3beca85 (diff) | |
| download | rockbox-b24fafbf148828f1262fc22a9e2a32951976836a.zip rockbox-b24fafbf148828f1262fc22a9e2a32951976836a.tar.gz rockbox-b24fafbf148828f1262fc22a9e2a32951976836a.tar.bz2 rockbox-b24fafbf148828f1262fc22a9e2a32951976836a.tar.xz | |
Yet more #include cleanups
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20249 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/gui/statusbar.c | 1 | ||||
| -rw-r--r-- | apps/menus/settings_menu.c | 3 | ||||
| -rw-r--r-- | apps/plugin.h | 1 | ||||
| -rw-r--r-- | apps/settings.h | 13 | ||||
| -rw-r--r-- | apps/tagtree.c | 1 |
5 files changed, 7 insertions, 12 deletions
diff --git a/apps/gui/statusbar.c b/apps/gui/statusbar.c index d420b96..ec804ab 100644 --- a/apps/gui/statusbar.c +++ b/apps/gui/statusbar.c @@ -44,6 +44,7 @@ #include "pcm_record.h" #endif #include "appevents.h" +#include "timefuncs.h" /* FIXME: should be removed from icon.h to avoid redefinition, but still needed for compatibility with old system */ diff --git a/apps/menus/settings_menu.c b/apps/menus/settings_menu.c index b413279..73d2463 100644 --- a/apps/menus/settings_menu.c +++ b/apps/menus/settings_menu.c @@ -44,6 +44,9 @@ #include "screens.h" #endif #include "quickscreen.h" +#ifdef HAVE_DIRCACHE +#include "dircache.h" +#endif /***********************************/ /* TAGCACHE MENU */ diff --git a/apps/plugin.h b/apps/plugin.h index fd3e276..e4b13f5 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -92,6 +92,7 @@ void* plugin_get_buffer(size_t *buffer_size); #include "viewport.h" #include "ata_idle_notify.h" #include "settings_list.h" +#include "timefuncs.h" #ifdef HAVE_ALBUMART #include "albumart.h" diff --git a/apps/settings.h b/apps/settings.h index 3ea9ee9..17d5acb 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -23,24 +23,13 @@ #define __SETTINGS_H__ #include <stdbool.h> +#include <stddef.h> #include "inttypes.h" #include "config.h" -#include "file.h" -#include "dircache.h" -#include "timefuncs.h" -#include "tagcache.h" -#ifndef __PCTOOL__ -#include "button.h" -#endif - #if CONFIG_CODEC == SWCODEC #include "audio.h" #endif -#ifdef HAVE_BACKLIGHT_BRIGHTNESS -#include "backlight.h" /* for [MIN|MAX]_BRIGHTNESS_SETTING */ -#endif - struct opt_items { unsigned const char* string; int32_t voice_id; diff --git a/apps/tagtree.c b/apps/tagtree.c index 7777a9f..0a1cce0 100644 --- a/apps/tagtree.c +++ b/apps/tagtree.c @@ -49,6 +49,7 @@ #include "audio.h" #include "appevents.h" #include "storage.h" +#include "dir_uncached.h" #define FILE_SEARCH_INSTRUCTIONS ROCKBOX_DIR "/tagnavi.config" |