From ce60003ebb682e06335796ddbeb2754c11b30192 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 16 Jun 2004 22:16:01 +0000 Subject: code after variables git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4764 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/pong.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/plugins/pong.c b/apps/plugins/pong.c index 9c76ef241a..18fdcad9ae 100644 --- a/apps/plugins/pong.c +++ b/apps/plugins/pong.c @@ -270,8 +270,6 @@ void showscore(struct pong *p) /* this is the plugin entry point */ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) { - TEST_PLUGIN_API(api); - struct pong pong; bool game = true; @@ -294,6 +292,8 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) this to avoid the compiler warning about it */ (void)parameter; + TEST_PLUGIN_API(api); + rb = api; /* use the "standard" rb pointer */ /* Clear screen */ -- cgit v1.2.3