Remove all uses of attribute "unused"

Awesome is built with -Wno-unused-parameter which means there is no point in
explicitly marking arguments as unused.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2010-08-08 18:19:15 +02:00
parent 7b06933f5b
commit a2c6dde410
1 changed files with 2 additions and 2 deletions

4
luaa.c
View File

@ -62,7 +62,7 @@ extern const struct luaL_reg awesome_screen_meta[];
* \return The number of elements pushed on stack.
*/
static int
luaA_quit(lua_State *L __attribute__ ((unused)))
luaA_quit(lua_State *L)
{
ev_unloop(globalconf.loop, 1);
return 0;
@ -89,7 +89,7 @@ luaA_exec(lua_State *L)
/** Restart awesome.
*/
static int
luaA_restart(lua_State *L __attribute__ ((unused)))
luaA_restart(lua_State *L)
{
awesome_restart();
return 0;