From 8533c1d35df6fc7079248a2b66c6b7408b3d39ab Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 7 Sep 2009 17:13:54 +0200 Subject: [PATCH] screen: makes luaA_pushscreen static Signed-off-by: Julien Danjou --- screen.c | 2 +- screen.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/screen.c b/screen.c index 82182856b..96a1a7a21 100644 --- a/screen.c +++ b/screen.c @@ -343,7 +343,7 @@ screen_client_moveto(client_t *c, screen_t *new_screen, bool doresize) * \param s The screen to push. * \return The number of elements pushed on stack. */ -int +static int luaA_pushscreen(lua_State *L, screen_t *s) { lua_pushlightuserdata(L, s); diff --git a/screen.h b/screen.h index 019e2a691..889f1037e 100644 --- a/screen.h +++ b/screen.h @@ -59,7 +59,6 @@ area_t screen_area_get(screen_t *, bool); area_t display_area_get(int); int screen_virttophys(int); void screen_client_moveto(client_t *, screen_t *, bool); -int luaA_pushscreen(lua_State *, screen_t *); #endif // vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80