summaryrefslogtreecommitdiff
path: root/apps/plugins/test_disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/test_disk.c')
-rw-r--r--apps/plugins/test_disk.c4
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
37static struct plugin_api* rb; 37static const struct plugin_api* rb;
38static unsigned char* audiobuf; 38static unsigned char* audiobuf;
39static ssize_t audiobuflen; 39static 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 */
407enum plugin_status plugin_start(struct plugin_api* api, void* parameter) 407enum 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 },