mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
Use __unused rather than rolling our own.
This commit is contained in:
4
status.c
4
status.c
@ -145,7 +145,7 @@ status_prompt_save_history(void)
|
||||
|
||||
/* Status timer callback. */
|
||||
void
|
||||
status_timer_callback(unused int fd, unused short events, void *arg)
|
||||
status_timer_callback(__unused int fd, __unused short events, void *arg)
|
||||
{
|
||||
struct client *c = arg;
|
||||
struct session *s = c->session;
|
||||
@ -604,7 +604,7 @@ status_message_clear(struct client *c)
|
||||
|
||||
/* Clear status line message after timer expires. */
|
||||
void
|
||||
status_message_callback(unused int fd, unused short event, void *data)
|
||||
status_message_callback(__unused int fd, __unused short event, void *data)
|
||||
{
|
||||
struct client *c = data;
|
||||
|
||||
|
Reference in New Issue
Block a user