summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/job.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-11-18 14:27:45 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-11-18 14:27:45 +0000
commit020d2c76b774d1f4b19f7683a6f163fcc584251a (patch)
tree0de13b4a9e55168d93b3e924c3c3235d96714099 /usr.bin/tmux/job.c
parent7e9a8899f550ff0eb982e12e65e70acbc1391660 (diff)
Use __unused rather than rolling our own.
Diffstat (limited to 'usr.bin/tmux/job.c')
-rw-r--r--usr.bin/tmux/job.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/tmux/job.c b/usr.bin/tmux/job.c
index ade884d008d..ab4f5b8bdf0 100644
--- a/usr.bin/tmux/job.c
+++ b/usr.bin/tmux/job.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: job.c,v 1.38 2015/10/31 08:13:58 nicm Exp $ */
+/* $OpenBSD: job.c,v 1.39 2015/11/18 14:27:44 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -150,7 +150,7 @@ job_free(struct job *job)
/* Called when output buffer falls below low watermark (default is 0). */
void
-job_write_callback(unused struct bufferevent *bufev, void *data)
+job_write_callback(__unused struct bufferevent *bufev, void *data)
{
struct job *job = data;
size_t len = EVBUFFER_LENGTH(EVBUFFER_OUTPUT(job->event));
@@ -166,7 +166,8 @@ job_write_callback(unused struct bufferevent *bufev, void *data)
/* Job buffer error callback. */
void
-job_callback(unused struct bufferevent *bufev, unused short events, void *data)
+job_callback(__unused struct bufferevent *bufev, __unused short events,
+ void *data)
{
struct job *job = data;