Remove UNUSED() macro and disable the compiler warning instead

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2017-07-02 21:59:23 +02:00
parent e46e3cdcb6
commit 30822f0d68
27 changed files with 51 additions and 52 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ static int do_handle_emit(char *buf, size_t len)
* `initctl runlevel 0` is issued we default to POWERDOWN the system
* instead of just halting.
*/
static void cb(uev_t *w, void *UNUSED(arg), int UNUSED(events))
static void cb(uev_t *w, void *arg, int events)
{
int sd, lvl;
struct init_request rq;