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
@@ -78,7 +78,7 @@ static int send_peer(int sd, char *buf, ssize_t len, struct sockaddr *sa, sockle
return sendto(sd, now, len, MSG_DONTWAIT, sa, sa_len);
}
static int cb(int UNUSED(type))
static int cb(int type)
{
int sd = STDIN_FILENO;
char buf[BUFSIZ];