summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/helper.c
diff options
context:
space:
mode:
authorSteve Bavin <pondlife@pondlife.me>2008-05-13 09:57:56 +0000
committerSteve Bavin <pondlife@pondlife.me>2008-05-13 09:57:56 +0000
commit652657781805d9cc10d744a49fb23eb17019fbbf (patch)
tree2d1a6ae597a17531f726b57fd9f8cbaa2a46a07f /apps/plugins/lib/helper.c
parenta94e40d5153ab698fa8a1b6b57d91fcb6acc905e (diff)
downloadrockbox-652657781805d9cc10d744a49fb23eb17019fbbf.tar.gz
rockbox-652657781805d9cc10d744a49fb23eb17019fbbf.zip
Plugin parameters should be const.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib/helper.c')
-rw-r--r--apps/plugins/lib/helper.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/plugins/lib/helper.c b/apps/plugins/lib/helper.c
index 8ac822b407..691a17f15c 100644
--- a/apps/plugins/lib/helper.c
+++ b/apps/plugins/lib/helper.c
@@ -21,7 +21,7 @@
21#include "helper.h" 21#include "helper.h"
22 22
23/* Force the backlight on */ 23/* Force the backlight on */
24void backlight_force_on(struct plugin_api* rb) 24void backlight_force_on(const struct plugin_api* rb)
25{ 25{
26 if(!rb) 26 if(!rb)
27 return; 27 return;
@@ -34,7 +34,7 @@ void backlight_force_on(struct plugin_api* rb)
34} 34}
35 35
36/* Reset backlight operation to its settings */ 36/* Reset backlight operation to its settings */
37void backlight_use_settings(struct plugin_api* rb) 37void backlight_use_settings(const struct plugin_api* rb)
38{ 38{
39 if (!rb) 39 if (!rb)
40 return; 40 return;
@@ -47,7 +47,7 @@ void backlight_use_settings(struct plugin_api* rb)
47 47
48#ifdef HAVE_REMOTE_LCD 48#ifdef HAVE_REMOTE_LCD
49/* Force the backlight on */ 49/* Force the backlight on */
50void remote_backlight_force_on(struct plugin_api* rb) 50void remote_backlight_force_on(const struct plugin_api* rb)
51{ 51{
52 if (!rb) 52 if (!rb)
53 return; 53 return;
@@ -60,7 +60,7 @@ void remote_backlight_force_on(struct plugin_api* rb)
60} 60}
61 61
62/* Reset backlight operation to its settings */ 62/* Reset backlight operation to its settings */
63void remote_backlight_use_settings(struct plugin_api* rb) 63void remote_backlight_use_settings(const struct plugin_api* rb)
64{ 64{
65 if (!rb) 65 if (!rb)
66 return; 66 return;
@@ -75,7 +75,7 @@ void remote_backlight_use_settings(struct plugin_api* rb)
75 75
76#ifdef HAVE_BUTTON_LIGHT 76#ifdef HAVE_BUTTON_LIGHT
77/* Force the buttonlight on */ 77/* Force the buttonlight on */
78void buttonlight_force_on(struct plugin_api* rb) 78void buttonlight_force_on(const struct plugin_api* rb)
79{ 79{
80 if (!rb) 80 if (!rb)
81 return; 81 return;
@@ -84,7 +84,7 @@ void buttonlight_force_on(struct plugin_api* rb)
84} 84}
85 85
86/* Reset buttonlight operation to its settings */ 86/* Reset buttonlight operation to its settings */
87void buttonlight_use_settings(struct plugin_api* rb) 87void buttonlight_use_settings(const struct plugin_api* rb)
88{ 88{
89 if (!rb) 89 if (!rb)
90 return; 90 return;