Lua fix crash on arm devices
This is a seemingly random bug that only affects (as far as I can tell)
arm devices it isn't actually random as code changes cause it to
appear/disappear based on alignment
Change-Id: I4cbc4370677959319f8589fe454e854c45623468
diff --git a/apps/plugins/lua/rocklib.h b/apps/plugins/lua/rocklib.h
index c8d1366..5d3abe3 100644
--- a/apps/plugins/lua/rocklib.h
+++ b/apps/plugins/lua/rocklib.h
@@ -45,7 +45,7 @@
char const* value;
};
-LUALIB_API int (luaopen_rock) (lua_State *L);
+LUALIB_API int (luaopen_rock) (lua_State *L) __attribute__((aligned(0x8)));
int get_current_path(lua_State *L, int level);
int filetol(int fd, long *num);