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

@ -120,7 +120,7 @@ const char window_clock_table[14][5][5] = {
};
void
window_clock_timer_callback(unused int fd, unused short events, void *arg)
window_clock_timer_callback(__unused int fd, __unused short events, void *arg)
{
struct window_pane *wp = arg;
struct window_clock_mode_data *data = wp->modedata;
@ -185,9 +185,9 @@ window_clock_resize(struct window_pane *wp, u_int sx, u_int sy)
}
void
window_clock_key(struct window_pane *wp, unused struct client *c,
unused struct session *sess, unused key_code key,
unused struct mouse_event *m)
window_clock_key(struct window_pane *wp, __unused struct client *c,
__unused struct session *sess, __unused key_code key,
__unused struct mouse_event *m)
{
window_pane_reset_mode(wp);
}