summaryrefslogtreecommitdiff
path: root/apps/plugins/lua/rocklib.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lua/rocklib.c')
-rw-r--r--apps/plugins/lua/rocklib.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/plugins/lua/rocklib.c b/apps/plugins/lua/rocklib.c
index ffd449e9d4..82a03ab6b4 100644
--- a/apps/plugins/lua/rocklib.c
+++ b/apps/plugins/lua/rocklib.c
@@ -26,7 +26,6 @@
26#include "lua.h" 26#include "lua.h"
27 27
28#include "lauxlib.h" 28#include "lauxlib.h"
29#include "rocklib_img.h"
30#include "rocklib.h" 29#include "rocklib.h"
31#include "lib/helper.h" 30#include "lib/helper.h"
32#include "lib/pluginlib_actions.h" 31#include "lib/pluginlib_actions.h"
@@ -416,7 +415,6 @@ static const luaL_Reg rocklib[] =
416#undef RB_FUNC 415#undef RB_FUNC
417 416
418extern const luaL_Reg rocklib_aux[]; 417extern const luaL_Reg rocklib_aux[];
419extern const luaL_Reg rocklib_img[];
420 418
421/* 419/*
422 ** Open Rockbox library 420 ** Open Rockbox library
@@ -425,8 +423,7 @@ LUALIB_API int luaopen_rock(lua_State *L)
425{ 423{
426 luaL_register(L, LUA_ROCKLIBNAME, rocklib); 424 luaL_register(L, LUA_ROCKLIBNAME, rocklib);
427 luaL_register(L, LUA_ROCKLIBNAME, rocklib_aux); 425 luaL_register(L, LUA_ROCKLIBNAME, rocklib_aux);
428 luaL_register(L, LUA_ROCKLIBNAME, rocklib_img); 426
429
430 static const struct lua_int_reg rlib_const_int[] = 427 static const struct lua_int_reg rlib_const_int[] =
431 { 428 {
432 /* useful integer constants */ 429 /* useful integer constants */
@@ -486,8 +483,6 @@ LUALIB_API int luaopen_rock(lua_State *L)
486 lua_setfield(L, -2, rlcs->name); 483 lua_setfield(L, -2, rlcs->name);
487 } 484 }
488 485
489 rli_init(L);
490
491 return 1; 486 return 1;
492} 487}
493 488