aboutsummaryrefslogtreecommitdiff
path: root/tty.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 /tty.c
parent5a5b950e8b86606edea8f61c40bf8af28ab4f08b (diff)
downloadrtmux-577c0e3e5a79e9f1f860487bc3f411d26758f026.tar.gz
rtmux-577c0e3e5a79e9f1f860487bc3f411d26758f026.tar.bz2
rtmux-577c0e3e5a79e9f1f860487bc3f411d26758f026.zip
Use __unused rather than rolling our own.
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tty.c b/tty.c
index e67ebbb6..13ca7f8e 100644
--- a/tty.c
+++ b/tty.c
@@ -172,7 +172,7 @@ tty_open(struct tty *tty, char **cause)
}
void
-tty_read_callback(unused struct bufferevent *bufev, void *data)
+tty_read_callback(__unused struct bufferevent *bufev, void *data)
{
struct tty *tty = data;
@@ -181,8 +181,8 @@ tty_read_callback(unused struct bufferevent *bufev, void *data)
}
void
-tty_error_callback(
- unused struct bufferevent *bufev, unused short what, unused void *data)
+tty_error_callback(__unused struct bufferevent *bufev, __unused short what,
+ __unused void *data)
{
}
@@ -591,7 +591,7 @@ tty_repeat_space(struct tty *tty, u_int n)
* pane.
*/
int
-tty_large_region(unused struct tty *tty, const struct tty_ctx *ctx)
+tty_large_region(__unused struct tty *tty, const struct tty_ctx *ctx)
{
struct window_pane *wp = ctx->wp;