diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2004-08-18 01:09:31 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2004-08-18 01:09:31 +0000 |
| commit | 8fb336148fb34474c67fbc6e0354daa4512a22fb (patch) | |
| tree | 5910d0a54bf8424b424939a263abef0f570591f7 /apps/plugin.h | |
| parent | 6d0da414bfea35b4370ad820d28d4565521d7b12 (diff) | |
| download | rockbox-8fb336148fb34474c67fbc6e0354daa4512a22fb.zip rockbox-8fb336148fb34474c67fbc6e0354daa4512a22fb.tar.gz rockbox-8fb336148fb34474c67fbc6e0354daa4512a22fb.tar.bz2 rockbox-8fb336148fb34474c67fbc6e0354daa4512a22fb.tar.xz | |
Const policed pointer arguments to functions, part 3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4999 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 53648ad..e8fb25e 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)); |