forked from len0rd/rockbox
Plugin parameters should be const.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a94e40d515
commit
6526577818
159 changed files with 363 additions and 371 deletions
|
@ -119,7 +119,7 @@ extern const fb_data matrix_normal[];
|
|||
#define SLEEP HZ/50
|
||||
|
||||
/* Codec api pointer */
|
||||
static struct plugin_api* rb;
|
||||
static const struct plugin_api* rb;
|
||||
|
||||
/* Each position is of this type */
|
||||
typedef struct cmatrix {
|
||||
|
@ -284,7 +284,7 @@ static void matrix_loop(void)
|
|||
}
|
||||
}
|
||||
|
||||
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 button;
|
||||
int sleep = SLEEP;
|
||||
bool frozen = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue