summaryrefslogtreecommitdiff
path: root/apps/plugins/lua/rocklua.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-08-23 17:12:26 +0000
committerThomas Martitz <kugel@rockbox.org>2010-08-23 17:12:26 +0000
commit93cb949372630d807615f53a8a6379937ed6819f (patch)
tree2dcb5001a9247447a1c64fd0129e64b9d8aba4e6 /apps/plugins/lua/rocklua.c
parentabdc5935beb7dc3fa63bffeec584921ad2a4c8bd (diff)
downloadrockbox-93cb949372630d807615f53a8a6379937ed6819f.tar.gz
rockbox-93cb949372630d807615f53a8a6379937ed6819f.zip
Revert "Introduce plugin_crt0.c that every plugin links."
Too much errors and no time to fix them now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27863 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lua/rocklua.c')
-rw-r--r--apps/plugins/lua/rocklua.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/lua/rocklua.c b/apps/plugins/lua/rocklua.c
index 00bfd8e43e..b92c274fb0 100644
--- a/apps/plugins/lua/rocklua.c
+++ b/apps/plugins/lua/rocklua.c
@@ -20,6 +20,7 @@
20 ****************************************************************************/ 20 ****************************************************************************/
21 21
22#include "plugin.h" 22#include "plugin.h"
23#include "lib/pluginlib_exit.h"
23#include "lua.h" 24#include "lua.h"
24#include "lauxlib.h" 25#include "lauxlib.h"
25#include "lualib.h" 26#include "lualib.h"
@@ -27,7 +28,7 @@
27#include "rockmalloc.h" 28#include "rockmalloc.h"
28#include "luadir.h" 29#include "luadir.h"
29 30
30 31PLUGIN_HEADER
31 32
32static const luaL_Reg lualibs[] = { 33static const luaL_Reg lualibs[] = {
33 {"", luaopen_base}, 34 {"", luaopen_base},
@@ -147,6 +148,8 @@ enum plugin_status plugin_start(const void* parameter)
147 const char* filename; 148 const char* filename;
148 int status; 149 int status;
149 150
151 PLUGINLIB_EXIT_INIT
152
150 if (parameter == NULL) 153 if (parameter == NULL)
151 { 154 {
152 rb->splash(HZ, "Play a .lua file!"); 155 rb->splash(HZ, "Play a .lua file!");