From ee475580ef517db18406db88dde57febfb046556 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 17 Nov 2008 12:16:51 +0100 Subject: [PATCH] mouse: make luaA_button_userdata_new static Signed-off-by: Julien Danjou --- mouse.c | 2 +- mouse.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/mouse.c b/mouse.c index d95b6203e..b34a25f57 100644 --- a/mouse.c +++ b/mouse.c @@ -36,7 +36,7 @@ extern awesome_t globalconf; -DO_LUA_NEW(extern, button_t, button, "button", button_ref) +DO_LUA_NEW(static, button_t, button, "button", button_ref) DO_LUA_GC(button_t, button, "button", button_unref) DO_LUA_EQ(button_t, button, "button") diff --git a/mouse.h b/mouse.h index a707422e9..b938f6315 100644 --- a/mouse.h +++ b/mouse.h @@ -49,8 +49,6 @@ ARRAY_FUNCS(button_t *, button, button_unref) int luaA_client_mouse_resize(lua_State *); -int luaA_button_userdata_new(lua_State *, button_t *); - int luaA_button_array_get(lua_State *, button_array_t *); void luaA_button_array_set(lua_State *, int idx, button_array_t *);