diff options
Diffstat (limited to 'apps/plugins/pong.c')
-rw-r--r-- | apps/plugins/pong.c | 4 |
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 | ||
177 | static struct plugin_api* rb; | 177 | static const struct plugin_api* rb; |
178 | 178 | ||
179 | struct pong { | 179 | struct 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 */ |
456 | enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | 456 | enum 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; |