From 3e20c442de30c583b1728500c782641f88dedbfa Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Fri, 1 Jan 2016 16:30:31 +0100 Subject: fix empty C prototypes --- session.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'session.h') diff --git a/session.h b/session.h index 77e1bcd..3a3569d 100644 --- a/session.h +++ b/session.h @@ -45,14 +45,14 @@ extern int exitflag; void common_session_init(int sock_in, int sock_out); void session_loop(void(*loophandler)()) ATTRIB_NORETURN; -void session_cleanup(); -void send_session_identification(); -void send_msg_ignore(); -void ignore_recv_response(); +void session_cleanup(void); +void send_session_identification(void); +void send_msg_ignore(void); +void ignore_recv_response(void); -void update_channel_prio(); +void update_channel_prio(void); -const char* get_user_shell(); +const char* get_user_shell(void); void fill_passwd(const char* username); /* Server */ @@ -64,7 +64,7 @@ void svr_dropbear_log(int priority, const char* format, va_list param); void cli_session(int sock_in, int sock_out, struct dropbear_progress_connection *progress, pid_t proxy_cmd_pid) ATTRIB_NORETURN; void cli_connected(int result, int sock, void* userdata, const char *errstring); void cleantext(char* dirtytext); -void kill_proxy_command(); +void kill_proxy_command(void); /* crypto parameters that are stored individually for transmit and receive */ struct key_context_directional { @@ -189,11 +189,11 @@ struct sshsession { concluded (ie, while dataallowed was unset)*/ struct packetlist *reply_queue_head, *reply_queue_tail; - void(*remoteclosed)(); /* A callback to handle closure of the + void(*remoteclosed)(void); /* A callback to handle closure of the remote connection */ - void(*extra_session_cleanup)(); /* client or server specific cleanup */ - void(*send_kex_first_guess)(); + void(*extra_session_cleanup)(void); /* client or server specific cleanup */ + void(*send_kex_first_guess)(void); struct AuthState authstate; /* Common amongst client and server, since most struct elements are common */ -- cgit v1.2.3