diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2009-03-08 16:10:40 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2009-03-08 16:10:40 +0000 |
commit | 66cf3a3329f4708be0f89b0b44fd87c26abb256b (patch) | |
tree | e092cdae63376d51b3ac40e1842febd0af2b0738 /apps | |
parent | 34c7cd5dd286da1c773a714f39b871e29bed0af3 (diff) | |
download | rockbox-66cf3a3329f4708be0f89b0b44fd87c26abb256b.tar.gz rockbox-66cf3a3329f4708be0f89b0b44fd87c26abb256b.zip |
Clean up some #includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20238 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/abrepeat.c | 1 | ||||
-rw-r--r-- | apps/abrepeat.h | 6 | ||||
-rw-r--r-- | apps/buffering.c | 1 | ||||
-rw-r--r-- | apps/menu.c | 1 | ||||
-rw-r--r-- | apps/menus/display_menu.c | 2 | ||||
-rw-r--r-- | apps/menus/settings_menu.c | 6 | ||||
-rw-r--r-- | apps/pcmbuf.c | 1 | ||||
-rw-r--r-- | apps/playback.c | 1 | ||||
-rw-r--r-- | apps/playlist.c | 1 | ||||
-rw-r--r-- | apps/playlist_viewer.c | 1 | ||||
-rw-r--r-- | apps/root_menu.c | 1 | ||||
-rw-r--r-- | apps/status.c | 1 | ||||
-rw-r--r-- | apps/tree.c | 3 |
13 files changed, 4 insertions, 22 deletions
diff --git a/apps/abrepeat.c b/apps/abrepeat.c index c39cca0ac2..5fbd880a17 100644 --- a/apps/abrepeat.c +++ b/apps/abrepeat.c | |||
@@ -19,6 +19,7 @@ | |||
19 | * | 19 | * |
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | 21 | ||
22 | #include "config.h" | ||
22 | #include "abrepeat.h" | 23 | #include "abrepeat.h" |
23 | 24 | ||
24 | #ifdef AB_REPEAT_ENABLE | 25 | #ifdef AB_REPEAT_ENABLE |
diff --git a/apps/abrepeat.h b/apps/abrepeat.h index de65f90915..3bed56678d 100644 --- a/apps/abrepeat.h +++ b/apps/abrepeat.h | |||
@@ -21,12 +21,10 @@ | |||
21 | #ifndef _ABREPEAT_H_ | 21 | #ifndef _ABREPEAT_H_ |
22 | #define _ABREPEAT_H_ | 22 | #define _ABREPEAT_H_ |
23 | 23 | ||
24 | #include "system.h" | ||
25 | |||
26 | #ifdef AB_REPEAT_ENABLE | 24 | #ifdef AB_REPEAT_ENABLE |
27 | #include "audio.h" | ||
28 | #include "kernel.h" | ||
29 | #include <stdbool.h> | 25 | #include <stdbool.h> |
26 | #include "audio.h" | ||
27 | #include "kernel.h" /* needed for HZ */ | ||
30 | 28 | ||
31 | #define AB_MARKER_NONE 0 | 29 | #define AB_MARKER_NONE 0 |
32 | 30 | ||
diff --git a/apps/buffering.c b/apps/buffering.c index 06e672773c..a4d425fb1d 100644 --- a/apps/buffering.c +++ b/apps/buffering.c | |||
@@ -44,7 +44,6 @@ | |||
44 | #include "audio.h" | 44 | #include "audio.h" |
45 | #include "mp3_playback.h" | 45 | #include "mp3_playback.h" |
46 | #include "usb.h" | 46 | #include "usb.h" |
47 | #include "status.h" | ||
48 | #include "screens.h" | 47 | #include "screens.h" |
49 | #include "playlist.h" | 48 | #include "playlist.h" |
50 | #include "pcmbuf.h" | 49 | #include "pcmbuf.h" |
diff --git a/apps/menu.c b/apps/menu.c index b6d95a57d1..4329c8206d 100644 --- a/apps/menu.c +++ b/apps/menu.c | |||
@@ -40,7 +40,6 @@ | |||
40 | #include "settings.h" | 40 | #include "settings.h" |
41 | #include "settings_list.h" | 41 | #include "settings_list.h" |
42 | #include "option_select.h" | 42 | #include "option_select.h" |
43 | #include "status.h" | ||
44 | #include "screens.h" | 43 | #include "screens.h" |
45 | #include "talk.h" | 44 | #include "talk.h" |
46 | #include "lang.h" | 45 | #include "lang.h" |
diff --git a/apps/menus/display_menu.c b/apps/menus/display_menu.c index b1d3495ff2..60ed71cbd0 100644 --- a/apps/menus/display_menu.c +++ b/apps/menus/display_menu.c | |||
@@ -34,10 +34,8 @@ | |||
34 | #include "peakmeter.h" | 34 | #include "peakmeter.h" |
35 | #endif | 35 | #endif |
36 | #include "talk.h" | 36 | #include "talk.h" |
37 | #include "color_picker.h" | ||
38 | #include "lcd.h" | 37 | #include "lcd.h" |
39 | #include "lcd-remote.h" | 38 | #include "lcd-remote.h" |
40 | #include "backdrop.h" | ||
41 | #include "statusbar.h" | 39 | #include "statusbar.h" |
42 | 40 | ||
43 | #ifdef HAVE_BACKLIGHT | 41 | #ifdef HAVE_BACKLIGHT |
diff --git a/apps/menus/settings_menu.c b/apps/menus/settings_menu.c index 35db9b49e6..b413279332 100644 --- a/apps/menus/settings_menu.c +++ b/apps/menus/settings_menu.c | |||
@@ -40,12 +40,6 @@ | |||
40 | #if CONFIG_CODEC == SWCODEC | 40 | #if CONFIG_CODEC == SWCODEC |
41 | #include "playback.h" | 41 | #include "playback.h" |
42 | #endif | 42 | #endif |
43 | #ifdef HAVE_RTC_ALARM | ||
44 | #include "alarm_menu.h" | ||
45 | #endif | ||
46 | #if CONFIG_TUNER | ||
47 | #include "radio.h" | ||
48 | #endif | ||
49 | #if CONFIG_RTC | 43 | #if CONFIG_RTC |
50 | #include "screens.h" | 44 | #include "screens.h" |
51 | #endif | 45 | #endif |
diff --git a/apps/pcmbuf.c b/apps/pcmbuf.c index 9143e32660..47cb832be4 100644 --- a/apps/pcmbuf.c +++ b/apps/pcmbuf.c | |||
@@ -22,7 +22,6 @@ | |||
22 | #include "config.h" | 22 | #include "config.h" |
23 | #include "system.h" | 23 | #include "system.h" |
24 | #include "debug.h" | 24 | #include "debug.h" |
25 | #include "panic.h" | ||
26 | #include <kernel.h> | 25 | #include <kernel.h> |
27 | #include "pcmbuf.h" | 26 | #include "pcmbuf.h" |
28 | #include "pcm.h" | 27 | #include "pcm.h" |
diff --git a/apps/playback.c b/apps/playback.c index ecb8f99fe1..11f76d4db8 100644 --- a/apps/playback.c +++ b/apps/playback.c | |||
@@ -48,7 +48,6 @@ | |||
48 | #include "voice_thread.h" | 48 | #include "voice_thread.h" |
49 | #include "mp3_playback.h" | 49 | #include "mp3_playback.h" |
50 | #include "usb.h" | 50 | #include "usb.h" |
51 | #include "status.h" | ||
52 | #include "storage.h" | 51 | #include "storage.h" |
53 | #include "screens.h" | 52 | #include "screens.h" |
54 | #include "playlist.h" | 53 | #include "playlist.h" |
diff --git a/apps/playlist.c b/apps/playlist.c index 38f685161f..4107af3af9 100644 --- a/apps/playlist.c +++ b/apps/playlist.c | |||
@@ -96,6 +96,7 @@ | |||
96 | #ifdef HAVE_LCD_BITMAP | 96 | #ifdef HAVE_LCD_BITMAP |
97 | #include "icons.h" | 97 | #include "icons.h" |
98 | #endif | 98 | #endif |
99 | #include "system.h" | ||
99 | 100 | ||
100 | #include "lang.h" | 101 | #include "lang.h" |
101 | #include "talk.h" | 102 | #include "talk.h" |
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c index 30dcfd0a1c..af07766997 100644 --- a/apps/playlist_viewer.c +++ b/apps/playlist_viewer.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include "playlist.h" | 28 | #include "playlist.h" |
29 | #include "audio.h" | 29 | #include "audio.h" |
30 | #include "screens.h" | 30 | #include "screens.h" |
31 | #include "status.h" | ||
32 | #include "settings.h" | 31 | #include "settings.h" |
33 | #include "icons.h" | 32 | #include "icons.h" |
34 | #include "menu.h" | 33 | #include "menu.h" |
diff --git a/apps/root_menu.c b/apps/root_menu.c index 8c88375d1a..c92547aecb 100644 --- a/apps/root_menu.c +++ b/apps/root_menu.c | |||
@@ -44,7 +44,6 @@ | |||
44 | #include "list.h" | 44 | #include "list.h" |
45 | #include "statusbar.h" | 45 | #include "statusbar.h" |
46 | #include "splash.h" | 46 | #include "splash.h" |
47 | #include "buttonbar.h" | ||
48 | #include "action.h" | 47 | #include "action.h" |
49 | #include "yesno.h" | 48 | #include "yesno.h" |
50 | #include "viewport.h" | 49 | #include "viewport.h" |
diff --git a/apps/status.c b/apps/status.c index fd89a85e41..3fc2995c58 100644 --- a/apps/status.c +++ b/apps/status.c | |||
@@ -29,7 +29,6 @@ | |||
29 | #include "mp3_playback.h" | 29 | #include "mp3_playback.h" |
30 | #include "audio.h" | 30 | #include "audio.h" |
31 | #include "gwps.h" | 31 | #include "gwps.h" |
32 | #include "abrepeat.h" | ||
33 | #include "statusbar.h" | 32 | #include "statusbar.h" |
34 | #if CONFIG_RTC | 33 | #if CONFIG_RTC |
35 | #include "timefuncs.h" | 34 | #include "timefuncs.h" |
diff --git a/apps/tree.c b/apps/tree.c index 6eb64a55a6..66979ea3c1 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -39,7 +39,6 @@ | |||
39 | #include "menu.h" | 39 | #include "menu.h" |
40 | #include "gwps.h" | 40 | #include "gwps.h" |
41 | #include "settings.h" | 41 | #include "settings.h" |
42 | #include "status.h" | ||
43 | #include "debug.h" | 42 | #include "debug.h" |
44 | #include "storage.h" | 43 | #include "storage.h" |
45 | #include "rolo.h" | 44 | #include "rolo.h" |
@@ -68,7 +67,6 @@ | |||
68 | #include "yesno.h" | 67 | #include "yesno.h" |
69 | #include "gwps-common.h" | 68 | #include "gwps-common.h" |
70 | #include "eeprom_settings.h" | 69 | #include "eeprom_settings.h" |
71 | #include "scrobbler.h" | ||
72 | #include "playlist_catalog.h" | 70 | #include "playlist_catalog.h" |
73 | 71 | ||
74 | /* gui api */ | 72 | /* gui api */ |
@@ -80,7 +78,6 @@ | |||
80 | #include "quickscreen.h" | 78 | #include "quickscreen.h" |
81 | 79 | ||
82 | #include "root_menu.h" | 80 | #include "root_menu.h" |
83 | #include "backdrop.h" | ||
84 | 81 | ||
85 | static const struct filetype *filetypes; | 82 | static const struct filetype *filetypes; |
86 | static int filetypes_count; | 83 | static int filetypes_count; |