diff options
Diffstat (limited to 'apps/plugins/test_disk.c')
-rw-r--r-- | apps/plugins/test_disk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/test_disk.c b/apps/plugins/test_disk.c index 27dbdb3334..93464807c3 100644 --- a/apps/plugins/test_disk.c +++ b/apps/plugins/test_disk.c | |||
@@ -34,7 +34,7 @@ PLUGIN_HEADER | |||
34 | #endif | 34 | #endif |
35 | #define TEST_TIME 10 /* in seconds */ | 35 | #define TEST_TIME 10 /* in seconds */ |
36 | 36 | ||
37 | static struct plugin_api* rb; | 37 | static const struct plugin_api* rb; |
38 | static unsigned char* audiobuf; | 38 | static unsigned char* audiobuf; |
39 | static ssize_t audiobuflen; | 39 | static ssize_t audiobuflen; |
40 | 40 | ||
@@ -404,7 +404,7 @@ static bool test_speed(void) | |||
404 | 404 | ||
405 | 405 | ||
406 | /* this is the plugin entry point */ | 406 | /* this is the plugin entry point */ |
407 | enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | 407 | enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter) |
408 | { | 408 | { |
409 | static const struct menu_item items[] = { | 409 | static const struct menu_item items[] = { |
410 | { "Disk speed", test_speed }, | 410 | { "Disk speed", test_speed }, |