diff options
Diffstat (limited to 'apps/plugins/clock/clock.c')
-rw-r--r-- | apps/plugins/clock/clock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/clock/clock.c b/apps/plugins/clock/clock.c index 07057d21b2..588112cf63 100644 --- a/apps/plugins/clock/clock.c +++ b/apps/plugins/clock/clock.c | |||
@@ -54,7 +54,7 @@ const struct button_mapping* plugin_contexts[]={ | |||
54 | #define ACTION_SKIN_PREV PLA_DEC | 54 | #define ACTION_SKIN_PREV PLA_DEC |
55 | #define ACTION_SKIN_PREV_REPEAT PLA_DEC_REPEAT | 55 | #define ACTION_SKIN_PREV_REPEAT PLA_DEC_REPEAT |
56 | 56 | ||
57 | extern struct plugin_api* rb; | 57 | extern const struct plugin_api* rb; |
58 | 58 | ||
59 | /************************** | 59 | /************************** |
60 | * Cleanup on plugin return | 60 | * Cleanup on plugin return |
@@ -109,7 +109,7 @@ void format_date(char* buffer, struct time* time, enum date_format format){ | |||
109 | /********************************************************************** | 109 | /********************************************************************** |
110 | * Plugin starts here | 110 | * Plugin starts here |
111 | **********************************************************************/ | 111 | **********************************************************************/ |
112 | enum plugin_status plugin_start(struct plugin_api* api, void* parameter){ | 112 | enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter){ |
113 | int button; | 113 | int button; |
114 | int last_second = -1; | 114 | int last_second = -1; |
115 | bool redraw=true; | 115 | bool redraw=true; |