From a2c6dde410de7dc9522cb9b64e729d9a06a9f8af Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sun, 8 Aug 2010 18:19:15 +0200 Subject: [PATCH] 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 --- luaa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luaa.c b/luaa.c index 54640367d..200f3bfb8 100644 --- a/luaa.c +++ b/luaa.c @@ -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;