summaryrefslogtreecommitdiff
path: root/apps/plugins/pong.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pong.c')
-rw-r--r--apps/plugins/pong.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/pong.c b/apps/plugins/pong.c
index 8163915fb6..c7382a58b2 100644
--- a/apps/plugins/pong.c
+++ b/apps/plugins/pong.c
@@ -174,7 +174,7 @@ PLUGIN_HEADER
174#endif 174#endif
175#endif 175#endif
176 176
177static struct plugin_api* rb; 177static const struct plugin_api* rb;
178 178
179struct pong { 179struct pong {
180 int ballx; /* current X*RES position of the ball */ 180 int ballx; /* current X*RES position of the ball */
@@ -453,7 +453,7 @@ void showscore(struct pong *p)
453} 453}
454 454
455/* this is the plugin entry point */ 455/* this is the plugin entry point */
456enum plugin_status plugin_start(struct plugin_api* api, void* parameter) 456enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter)
457{ 457{
458 struct pong pong; 458 struct pong pong;
459 int game = 1; 459 int game = 1;