summaryrefslogtreecommitdiff
path: root/client/luawidget.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/luawidget.cc')
-rw-r--r--client/luawidget.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/luawidget.cc b/client/luawidget.cc
index ba64257..bd000f0 100644
--- a/client/luawidget.cc
+++ b/client/luawidget.cc
@@ -37,7 +37,7 @@
** Copied from lauxlib.c, but modified return NULL upon error instead of
** casting a lua error.
**/
-LUALIB_API void *luaL_isudata (lua_State *L, int ud, const char *tname) {
+static void *luaL_isudata (lua_State *L, int ud, const char *tname) {
void *p = lua_touserdata(L, ud);
if (p != NULL) { /* value is a userdata? */
if (lua_getmetatable(L, ud)) { /* does it have a metatable? */