summaryrefslogtreecommitdiffstats
path: root/apps/plugins/lib
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-08-25 19:14:02 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-08-25 19:14:02 +0000
commit5615881955046b1642d6ee18dda0f199c78cfc04 (patch)
treeb194b9ae172e7da4ea1b5777a2058925e41db9c8 /apps/plugins/lib
parent7014faee69119b832451a136c25e63722100b85e (diff)
downloadrockbox-5615881955046b1642d6ee18dda0f199c78cfc04.tar.gz
rockbox-5615881955046b1642d6ee18dda0f199c78cfc04.zip
Remove a bunch of build conditions inside .c files
Fix logic in pacbox makefiles for asm optimizations git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27887 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib')
-rw-r--r--apps/plugins/lib/checkbox.c4
-rw-r--r--apps/plugins/lib/overlay.c2
-rw-r--r--apps/plugins/lib/playergfx.c3
-rw-r--r--apps/plugins/lib/pluginlib_touchscreen.c4
-rw-r--r--apps/plugins/lib/xlcd_scroll.c3
5 files changed, 0 insertions, 16 deletions
diff --git a/apps/plugins/lib/checkbox.c b/apps/plugins/lib/checkbox.c
index 221137b328..80ede83e8a 100644
--- a/apps/plugins/lib/checkbox.c
+++ b/apps/plugins/lib/checkbox.c
@@ -22,8 +22,6 @@
#include "plugin.h"
#include "checkbox.h"
-#ifdef HAVE_LCD_BITMAP
-
/*
* Print a checkbox
*/
@@ -42,5 +40,3 @@ void checkbox(int x, int y, int width, int height, bool checked)
rb->lcd_drawline(x + 2, y + height - 2 - 1, x + width - 2 - 1, y + 2);
}
}
-
-#endif
diff --git a/apps/plugins/lib/overlay.c b/apps/plugins/lib/overlay.c
index 97a6e1c718..8a04cf8aa7 100644
--- a/apps/plugins/lib/overlay.c
+++ b/apps/plugins/lib/overlay.c
@@ -21,7 +21,6 @@
*
****************************************************************************/
-#ifndef SIMULATOR
#include "plugin.h"
#include "overlay.h"
@@ -109,4 +108,3 @@ enum plugin_status run_overlay(const void* parameter,
*(header.api) = rb;
return header.entry_point(parameter);
}
-#endif
diff --git a/apps/plugins/lib/playergfx.c b/apps/plugins/lib/playergfx.c
index d07043c572..b2ba71351f 100644
--- a/apps/plugins/lib/playergfx.c
+++ b/apps/plugins/lib/playergfx.c
@@ -23,7 +23,6 @@
#include "plugin.h"
-#ifdef HAVE_LCD_CHARCELLS /* Player only :) */
#include "playergfx.h"
/*** globals ***/
@@ -525,5 +524,3 @@ void pgfx_bitmap(const unsigned char *src, int x, int y, int width, int height)
{
pgfx_bitmap_part(src, 0, 0, width, x, y, width, height);
}
-
-#endif /* HAVE_LCD_CHARCELLS */
diff --git a/apps/plugins/lib/pluginlib_touchscreen.c b/apps/plugins/lib/pluginlib_touchscreen.c
index 3168b46ac8..1e1bf8d3c2 100644
--- a/apps/plugins/lib/pluginlib_touchscreen.c
+++ b/apps/plugins/lib/pluginlib_touchscreen.c
@@ -22,8 +22,6 @@
#include "plugin.h"
-#ifdef HAVE_TOUCHSCREEN
-
#include "pluginlib_touchscreen.h"
/*******************************************************************************
@@ -245,5 +243,3 @@ struct ts_raster_button_result touchscreen_raster_map_button(struct ts_raster_bu
map->_prev_btn_state = button;
return ret;
}
-
-#endif /* HAVE_TOUCHSCREEN */
diff --git a/apps/plugins/lib/xlcd_scroll.c b/apps/plugins/lib/xlcd_scroll.c
index 0d06545c84..a26e65110c 100644
--- a/apps/plugins/lib/xlcd_scroll.c
+++ b/apps/plugins/lib/xlcd_scroll.c
@@ -24,7 +24,6 @@
#include "plugin.h"
-#ifdef HAVE_LCD_BITMAP
#include "xlcd.h"
#if (LCD_DEPTH == 2) && (LCD_PIXELFORMAT == VERTICAL_INTERLEAVED)
@@ -754,5 +753,3 @@ void xlcd_scroll_down(int count)
#endif /* LCD_PIXELFORMAT, LCD_DEPTH */
#endif /* defined(LCD_STRIDEFORMAT) && LCD_STRIDEFORMAT == VERTICAL_STRIDE */
-
-#endif /* HAVE_LCD_BITMAP */