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

View File

@ -35,7 +35,7 @@ int alerts_check_silence(struct session *, struct winlink *);
void alerts_ring_bell(struct session *);
void
alerts_timer(unused int fd, unused short events, void *arg)
alerts_timer(__unused int fd, __unused short events, void *arg)
{
struct window *w = arg;
@ -45,7 +45,7 @@ alerts_timer(unused int fd, unused short events, void *arg)
}
void
alerts_callback(unused int fd, unused short events, unused void *arg)
alerts_callback(__unused int fd, __unused short events, __unused void *arg)
{
struct window *w;
struct session *s;