screen: makes luaA_pushscreen static

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-09-07 17:13:54 +02:00
parent b6a066b040
commit 8533c1d35d
2 changed files with 1 additions and 2 deletions

View File

@ -343,7 +343,7 @@ screen_client_moveto(client_t *c, screen_t *new_screen, bool doresize)
* \param s The screen to push. * \param s The screen to push.
* \return The number of elements pushed on stack. * \return The number of elements pushed on stack.
*/ */
int static int
luaA_pushscreen(lua_State *L, screen_t *s) luaA_pushscreen(lua_State *L, screen_t *s)
{ {
lua_pushlightuserdata(L, s); lua_pushlightuserdata(L, s);

View File

@ -59,7 +59,6 @@ area_t screen_area_get(screen_t *, bool);
area_t display_area_get(int); area_t display_area_get(int);
int screen_virttophys(int); int screen_virttophys(int);
void screen_client_moveto(client_t *, screen_t *, bool); void screen_client_moveto(client_t *, screen_t *, bool);
int luaA_pushscreen(lua_State *, screen_t *);
#endif #endif
// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80 // vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80