No more lint means no more ARGSUSED.

This commit is contained in:
Nicholas Marriott 2013-02-17 23:15:38 +00:00
parent 7d1a8f7e9e
commit 9d165df18a
23 changed files with 0 additions and 32 deletions

2
cfg.c
View File

@ -40,13 +40,11 @@ int cfg_finished;
int cfg_references;
struct causelist cfg_causes;
/* ARGSUSED */
void printflike2
cfg_print(unused struct cmd_ctx *ctx, unused const char *fmt, ...)
{
}
/* ARGSUSED */
void printflike2
cfg_error(unused struct cmd_ctx *ctx, const char *fmt, ...)
{

View File

@ -364,7 +364,6 @@ client_update_event(void)
}
/* Callback to handle signals in the client. */
/* ARGSUSED */
void
client_signal(int sig, unused short events, unused void *data)
{
@ -411,7 +410,6 @@ client_signal(int sig, unused short events, unused void *data)
}
/* Callback for client imsg read events. */
/* ARGSUSED */
void
client_callback(unused int fd, short events, void *data)
{
@ -446,7 +444,6 @@ lost_server:
}
/* Callback for client stdin read events. */
/* ARGSUSED */
void
client_stdin_callback(unused int fd, unused short events, unused void *data1)
{
@ -575,7 +572,6 @@ client_dispatch_wait(void *data)
}
/* Dispatch imsgs in attached state (after MSG_READY). */
/* ARGSUSED */
int
client_dispatch_attached(void)
{

View File

@ -39,7 +39,6 @@ const struct cmd_entry cmd_kill_server_entry = {
cmd_kill_server_exec
};
/* ARGSUSED */
enum cmd_retval
cmd_kill_server_exec(unused struct cmd *self, unused struct cmd_ctx *ctx)
{

View File

@ -39,7 +39,6 @@ const struct cmd_entry cmd_list_buffers_entry = {
cmd_list_buffers_exec
};
/* ARGSUSED */
enum cmd_retval
cmd_list_buffers_exec(unused struct cmd *self, struct cmd_ctx *ctx)
{

View File

@ -40,7 +40,6 @@ const struct cmd_entry cmd_list_clients_entry = {
cmd_list_clients_exec
};
/* ARGSUSED */
enum cmd_retval
cmd_list_clients_exec(struct cmd *self, struct cmd_ctx *ctx)
{

View File

@ -36,7 +36,6 @@ const struct cmd_entry cmd_list_commands_entry = {
cmd_list_commands_exec
};
/* ARGSUSED */
enum cmd_retval
cmd_list_commands_exec(unused struct cmd *self, struct cmd_ctx *ctx)
{

View File

@ -60,7 +60,6 @@ const struct cmd_entry cmd_lock_client_entry = {
cmd_lock_server_exec
};
/* ARGSUSED */
enum cmd_retval
cmd_lock_server_exec(struct cmd *self, unused struct cmd_ctx *ctx)
{

View File

@ -130,7 +130,6 @@ cmd_pipe_pane_exec(struct cmd *self, struct cmd_ctx *ctx)
}
}
/* ARGSUSED */
void
cmd_pipe_pane_error_callback(
unused struct bufferevent *bufev, unused short what, void *data)

View File

@ -42,7 +42,6 @@ const struct cmd_entry cmd_server_info_entry = {
cmd_server_info_exec
};
/* ARGSUSED */
enum cmd_retval
cmd_server_info_exec(unused struct cmd *self, struct cmd_ctx *ctx)
{

View File

@ -36,7 +36,6 @@ const struct cmd_entry cmd_start_server_entry = {
cmd_start_server_exec
};
/* ARGSUSED */
enum cmd_retval
cmd_start_server_exec(unused struct cmd *self, unused struct cmd_ctx *ctx)
{

1
job.c
View File

@ -133,7 +133,6 @@ job_free(struct job *job)
}
/* Job buffer error callback. */
/* ARGSUSED */
void
job_callback(unused struct bufferevent *bufev, unused short events, void *data)
{

View File

@ -43,7 +43,6 @@ queue_window_name(struct window *w)
evtimer_add(&w->name_timer, &tv);
}
/* ARGSUSED */
void
window_name_callback(unused int fd, unused short events, void *data)
{

View File

@ -41,7 +41,6 @@ screen_write_start(
}
/* Finish writing. */
/* ARGSUSED */
void
screen_write_stop(unused struct screen_write_ctx *ctx)
{

View File

@ -586,7 +586,6 @@ server_client_reset_state(struct client *c)
}
/* Repeat time callback. */
/* ARGSUSED */
void
server_client_repeat_timer(unused int fd, unused short events, void *data)
{

View File

@ -494,7 +494,6 @@ server_clear_identify(struct client *c)
}
}
/* ARGSUSED */
void
server_callback_identify(unused int fd, unused short events, void *data)
{

View File

@ -317,7 +317,6 @@ server_update_socket(void)
}
/* Callback for server socket. */
/* ARGSUSED */
void
server_accept_callback(int fd, short events, unused void *data)
{
@ -371,7 +370,6 @@ server_add_accept(int timeout)
}
/* Signal handler. */
/* ARGSUSED */
void
server_signal_callback(int sig, unused short events, unused void *data)
{
@ -467,7 +465,6 @@ server_child_stopped(pid_t pid, int status)
}
/* Handle once-per-second timer events. */
/* ARGSUSED */
void
server_second_callback(unused int fd, unused short events, unused void *arg)
{

View File

@ -829,7 +829,6 @@ status_message_clear(struct client *c)
}
/* Clear status line message after timer expires. */
/* ARGSUSED */
void
status_message_callback(unused int fd, unused short event, void *data)
{

View File

@ -567,7 +567,6 @@ complete_key:
}
/* Key timer callback. */
/* ARGSUSED */
void
tty_keys_callback(unused int fd, unused short events, void *data)
{

2
tty.c
View File

@ -161,7 +161,6 @@ tty_open(struct tty *tty, const char *overrides, char **cause)
return (0);
}
/* ARGSUSED */
void
tty_read_callback(unused struct bufferevent *bufev, void *data)
{
@ -171,7 +170,6 @@ tty_read_callback(unused struct bufferevent *bufev, void *data)
;
}
/* ARGSUSED */
void
tty_error_callback(
unused struct bufferevent *bufev, unused short what, unused void *data)

View File

@ -480,7 +480,6 @@ window_choose_expand(struct window_pane *wp, struct session *s, u_int pos)
}
}
/* ARGSUSED */
void
window_choose_key(struct window_pane *wp, unused struct session *sess, int key)
{
@ -686,7 +685,6 @@ window_choose_key(struct window_pane *wp, unused struct session *sess, int key)
}
}
/* ARGSUSED */
void
window_choose_mouse(
struct window_pane *wp, unused struct session *sess, struct mouse_event *m)

View File

@ -83,7 +83,6 @@ window_clock_resize(struct window_pane *wp, u_int sx, u_int sy)
window_clock_draw_screen(wp);
}
/* ARGSUSED */
void
window_clock_key(
struct window_pane *wp, unused struct session *sess, unused int key)

View File

@ -814,7 +814,6 @@ window_copy_key_numeric_prefix(struct window_pane *wp, int key)
return (0);
}
/* ARGSUSED */
void
window_copy_mouse(
struct window_pane *wp, struct session *sess, struct mouse_event *m)

View File

@ -803,7 +803,6 @@ window_pane_timer_callback(unused int fd, unused short events, void *data)
wp->changes = 0;
}
/* ARGSUSED */
void
window_pane_read_callback(unused struct bufferevent *bufev, void *data)
{
@ -830,7 +829,6 @@ window_pane_read_callback(unused struct bufferevent *bufev, void *data)
fatal("gettimeofday failed.");
}
/* ARGSUSED */
void
window_pane_error_callback(
unused struct bufferevent *bufev, unused short what, void *data)