Remove UNUSED() macro and disable the compiler warning instead

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2017-07-02 21:59:23 +02:00
1 parent e46e3cdcb6
commit 30822f0d68
27 files changed
+51 -52

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ static void setup(void)
_pe("Failed starting TTY watcher");
}
static void watcher(void *UNUSED(arg), int fd, int UNUSED(events))
static void watcher(void *arg, int fd, int events)
{
int len = 0;
char buf[EVENT_SIZE], name[42];