From 8fb336148fb34474c67fbc6e0354daa4512a22fb Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 18 Aug 2004 01:09:31 +0000 Subject: Const policed pointer arguments to functions, part 3 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4999 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index 53648ad4c7..e8fb25e555 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -153,7 +153,7 @@ struct plugin_api { #endif void (*backlight_on)(void); void (*backlight_off)(void); - void (*splash)(int ticks, bool center, char *fmt, ...); + void (*splash)(int ticks, bool center, const char *fmt, ...); /* button */ int (*button_get)(bool block); @@ -298,7 +298,7 @@ struct plugin_api { }; /* defined by the plugin loader (plugin.c) */ -int plugin_load(char* plugin, void* parameter); +int plugin_load(const char* plugin, void* parameter); void* plugin_get_buffer(int *buffer_size); void* plugin_get_mp3_buffer(int *buffer_size); int plugin_register_timer(int cycles, int prio, void (*timer_callback)(void)); -- cgit v1.2.3