summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/abrepeat.c1
-rw-r--r--apps/abrepeat.h6
-rw-r--r--apps/buffering.c1
-rw-r--r--apps/menu.c1
-rw-r--r--apps/menus/display_menu.c2
-rw-r--r--apps/menus/settings_menu.c6
-rw-r--r--apps/pcmbuf.c1
-rw-r--r--apps/playback.c1
-rw-r--r--apps/playlist.c1
-rw-r--r--apps/playlist_viewer.c1
-rw-r--r--apps/root_menu.c1
-rw-r--r--apps/status.c1
-rw-r--r--apps/tree.c3
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 @@
*
****************************************************************************/
+#include "config.h"
#include "abrepeat.h"
#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 @@
#ifndef _ABREPEAT_H_
#define _ABREPEAT_H_
-#include "system.h"
-
#ifdef AB_REPEAT_ENABLE
-#include "audio.h"
-#include "kernel.h"
#include <stdbool.h>
+#include "audio.h"
+#include "kernel.h" /* needed for HZ */
#define AB_MARKER_NONE 0
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 @@
#include "audio.h"
#include "mp3_playback.h"
#include "usb.h"
-#include "status.h"
#include "screens.h"
#include "playlist.h"
#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 @@
#include "settings.h"
#include "settings_list.h"
#include "option_select.h"
-#include "status.h"
#include "screens.h"
#include "talk.h"
#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 @@
#include "peakmeter.h"
#endif
#include "talk.h"
-#include "color_picker.h"
#include "lcd.h"
#include "lcd-remote.h"
-#include "backdrop.h"
#include "statusbar.h"
#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 @@
#if CONFIG_CODEC == SWCODEC
#include "playback.h"
#endif
-#ifdef HAVE_RTC_ALARM
-#include "alarm_menu.h"
-#endif
-#if CONFIG_TUNER
-#include "radio.h"
-#endif
#if CONFIG_RTC
#include "screens.h"
#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 @@
#include "config.h"
#include "system.h"
#include "debug.h"
-#include "panic.h"
#include <kernel.h>
#include "pcmbuf.h"
#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 @@
#include "voice_thread.h"
#include "mp3_playback.h"
#include "usb.h"
-#include "status.h"
#include "storage.h"
#include "screens.h"
#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 @@
#ifdef HAVE_LCD_BITMAP
#include "icons.h"
#endif
+#include "system.h"
#include "lang.h"
#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 @@
#include "playlist.h"
#include "audio.h"
#include "screens.h"
-#include "status.h"
#include "settings.h"
#include "icons.h"
#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 @@
#include "list.h"
#include "statusbar.h"
#include "splash.h"
-#include "buttonbar.h"
#include "action.h"
#include "yesno.h"
#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 @@
#include "mp3_playback.h"
#include "audio.h"
#include "gwps.h"
-#include "abrepeat.h"
#include "statusbar.h"
#if CONFIG_RTC
#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 @@
#include "menu.h"
#include "gwps.h"
#include "settings.h"
-#include "status.h"
#include "debug.h"
#include "storage.h"
#include "rolo.h"
@@ -68,7 +67,6 @@
#include "yesno.h"
#include "gwps-common.h"
#include "eeprom_settings.h"
-#include "scrobbler.h"
#include "playlist_catalog.h"
/* gui api */
@@ -80,7 +78,6 @@
#include "quickscreen.h"
#include "root_menu.h"
-#include "backdrop.h"
static const struct filetype *filetypes;
static int filetypes_count;