summaryrefslogtreecommitdiffstats
path: root/control-notify.c
diff options
context:
space:
mode:
authornicm <nicm>2015-11-18 14:27:44 +0000
committernicm <nicm>2015-11-18 14:27:44 +0000
commit577c0e3e5a79e9f1f860487bc3f411d26758f026 (patch)
tree9413b6a93eee1e053b0b5fa6258c78db0abb0819 /control-notify.c
parent5a5b950e8b86606edea8f61c40bf8af28ab4f08b (diff)
Use __unused rather than rolling our own.
Diffstat (limited to 'control-notify.c')
-rw-r--r--control-notify.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/control-notify.c b/control-notify.c
index 16a98e3a..db3648a4 100644
--- a/control-notify.c
+++ b/control-notify.c
@@ -101,7 +101,7 @@ control_notify_window_layout_changed(struct window *w)
}
void
-control_notify_window_unlinked(unused struct session *s, struct window *w)
+control_notify_window_unlinked(__unused struct session *s, struct window *w)
{
struct client *c;
struct session *cs;
@@ -119,7 +119,7 @@ control_notify_window_unlinked(unused struct session *s, struct window *w)
}
void
-control_notify_window_linked(unused struct session *s, struct window *w)
+control_notify_window_linked(__unused struct session *s, struct window *w)
{
struct client *c;
struct session *cs;
@@ -183,7 +183,7 @@ control_notify_session_renamed(struct session *s)
}
void
-control_notify_session_created(unused struct session *s)
+control_notify_session_created(__unused struct session *s)
{
struct client *c;
@@ -196,7 +196,7 @@ control_notify_session_created(unused struct session *s)
}
void
-control_notify_session_close(unused struct session *s)
+control_notify_session_close(__unused struct session *s)
{
struct client *c;