Use __unused rather than rolling our own.

This commit is contained in:
nicm
2015-11-18 14:27:44 +00:00
parent 5a5b950e8b
commit 577c0e3e5a
30 changed files with 68 additions and 69 deletions

4
proc.c
View File

@ -53,7 +53,7 @@ static int peer_check_version(struct tmuxpeer *, struct imsg *);
static void proc_update_event(struct tmuxpeer *);
static void
proc_event_cb(unused int fd, short events, void *arg)
proc_event_cb(__unused int fd, short events, void *arg)
{
struct tmuxpeer *peer = arg;
ssize_t n;
@ -101,7 +101,7 @@ proc_event_cb(unused int fd, short events, void *arg)
}
static void
proc_signal_cb(int signo, unused short events, void *arg)
proc_signal_cb(int signo, __unused short events, void *arg)
{
struct tmuxproc *tp = arg;