summaryrefslogtreecommitdiff
path: root/apps/plugins/superdom.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/superdom.c
parenta94e40d5153ab698fa8a1b6b57d91fcb6acc905e (diff)
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/superdom.c')
-rw-r--r--apps/plugins/superdom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/superdom.c b/apps/plugins/superdom.c
index e99d456454..4f5cc53086 100644
--- a/apps/plugins/superdom.c
+++ b/apps/plugins/superdom.c
@@ -18,7 +18,7 @@
****************************************************************************/
#include "plugin.h"
PLUGIN_HEADER
-static struct plugin_api* rb;
+static const struct plugin_api* rb;
extern const fb_data superdom_boarditems[];
char buf[255];
@@ -2153,7 +2153,7 @@ void computer_war(void) {
}
}
-int load_game(char* file) {
+static int load_game(const char* file) {
int fd;
fd = rb->open(file, O_RDONLY);
@@ -2222,7 +2222,7 @@ int average_strength(bool colour) {
return totalpower/100;
}
-enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
+enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter)
{
int tempmenu;
bool statusbar_setting;