summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2009-09-27 14:46:44 +0000
committerBertrik Sikken <bertrik@sikken.nl>2009-09-27 14:46:44 +0000
commit69b40e704db35390332b6f4b6a811934ca1613b6 (patch)
treec9e23e02ea5d33b740021915703f3497f66cefef
parent59368e1750abcbe7c7d3611f8d0b1bb956a0505b (diff)
downloadrockbox-69b40e704db35390332b6f4b6a811934ca1613b6.tar.gz
rockbox-69b40e704db35390332b6f4b6a811934ca1613b6.tar.bz2
rockbox-69b40e704db35390332b6f4b6a811934ca1613b6.zip
Clean up duplicate #includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22845 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/statusbar.c2
-rw-r--r--apps/misc.c1
-rw-r--r--apps/plugins/zxbox/snapshot.c2
-rw-r--r--apps/plugins/zxbox/zxmisc.c1
-rw-r--r--apps/screens.c1
-rw-r--r--firmware/drivers/m66591.c1
-rw-r--r--firmware/target/arm/as3525/ata_sd_as3525.c1
-rw-r--r--firmware/target/arm/ata-nand-telechips.c1
8 files changed, 1 insertions, 9 deletions
diff --git a/apps/gui/statusbar.c b/apps/gui/statusbar.c
index 7a361e58ed..0a9d539223 100644
--- a/apps/gui/statusbar.c
+++ b/apps/gui/statusbar.c
@@ -19,7 +19,7 @@
*
****************************************************************************/
-#include "screen_access.h"
+#include "config.h"
#include "font.h"
#include "kernel.h"
#include "string.h" /* for memcmp oO*/
diff --git a/apps/misc.c b/apps/misc.c
index 1715fe305b..3134e02555 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -81,7 +81,6 @@
#ifdef BOOTFILE
#if !defined(USB_NONE) && !defined(USB_HANDLED_BY_OF)
#include "rolo.h"
-#include "yesno.h"
#endif
#endif
diff --git a/apps/plugins/zxbox/snapshot.c b/apps/plugins/zxbox/snapshot.c
index 9a68540a04..6efb29f91b 100644
--- a/apps/plugins/zxbox/snapshot.c
+++ b/apps/plugins/zxbox/snapshot.c
@@ -29,8 +29,6 @@
#include "spconf.h"
-#include "interf.h"
-
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
diff --git a/apps/plugins/zxbox/zxmisc.c b/apps/plugins/zxbox/zxmisc.c
index c4dbf888e5..324fb484d2 100644
--- a/apps/plugins/zxbox/zxmisc.c
+++ b/apps/plugins/zxbox/zxmisc.c
@@ -25,7 +25,6 @@
#include <stdlib.h>
#include <ctype.h>
#include "helpers.h"
-#include "zxconfig.h"
#define DIR_SEP_CHAR '/'
char *get_base_name(char *fname)
diff --git a/apps/screens.c b/apps/screens.c
index 92ab2b7e4b..a7a4b27ea8 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -64,7 +64,6 @@
#include "backdrop.h"
#include "viewport.h"
#include "appevents.h"
-#include "statusbar.h"
#ifdef HAVE_LCD_BITMAP
#include "bitmaps/usblogo.h"
diff --git a/firmware/drivers/m66591.c b/firmware/drivers/m66591.c
index fca995c154..2ce121a263 100644
--- a/firmware/drivers/m66591.c
+++ b/firmware/drivers/m66591.c
@@ -31,7 +31,6 @@
#include "usb_drv.h"
#include "logf.h"
-#include "config.h"
#include "cpu.h"
#include "ata.h"
#include "usb.h"
diff --git a/firmware/target/arm/as3525/ata_sd_as3525.c b/firmware/target/arm/as3525/ata_sd_as3525.c
index fc5e2f880f..8260c48a30 100644
--- a/firmware/target/arm/as3525/ata_sd_as3525.c
+++ b/firmware/target/arm/as3525/ata_sd_as3525.c
@@ -50,7 +50,6 @@
#ifdef HAVE_HOTSWAP
#include "disk.h"
-#include "panic.h"
#endif
/* command flags */
diff --git a/firmware/target/arm/ata-nand-telechips.c b/firmware/target/arm/ata-nand-telechips.c
index 54c1c2a4ba..8fd1bbf521 100644
--- a/firmware/target/arm/ata-nand-telechips.c
+++ b/firmware/target/arm/ata-nand-telechips.c
@@ -27,7 +27,6 @@
#include "nand_id.h"
#include "storage.h"
#include "buffer.h"
-#include "led.h"
#define SECTOR_SIZE 512