mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 22:43:58 +00:00
Use __unused rather than rolling our own.
This commit is contained in:
@ -246,7 +246,7 @@ server_client_unref(struct client *c)
|
||||
|
||||
/* Free dead client. */
|
||||
void
|
||||
server_client_free(unused int fd, unused short events, void *arg)
|
||||
server_client_free(__unused int fd, __unused short events, void *arg)
|
||||
{
|
||||
struct client *c = arg;
|
||||
|
||||
@ -818,7 +818,7 @@ server_client_reset_state(struct client *c)
|
||||
|
||||
/* Repeat time callback. */
|
||||
void
|
||||
server_client_repeat_timer(unused int fd, unused short events, void *data)
|
||||
server_client_repeat_timer(__unused int fd, __unused short events, void *data)
|
||||
{
|
||||
struct client *c = data;
|
||||
|
||||
@ -1214,7 +1214,7 @@ server_client_dispatch_shell(struct client *c)
|
||||
|
||||
/* Event callback to push more stdout data if any left. */
|
||||
static void
|
||||
server_client_stdout_cb(unused int fd, unused short events, void *arg)
|
||||
server_client_stdout_cb(__unused int fd, __unused short events, void *arg)
|
||||
{
|
||||
struct client *c = arg;
|
||||
|
||||
@ -1255,7 +1255,7 @@ server_client_push_stdout(struct client *c)
|
||||
|
||||
/* Event callback to push more stderr data if any left. */
|
||||
static void
|
||||
server_client_stderr_cb(unused int fd, unused short events, void *arg)
|
||||
server_client_stderr_cb(__unused int fd, __unused short events, void *arg)
|
||||
{
|
||||
struct client *c = arg;
|
||||
|
||||
|
Reference in New Issue
Block a user