diff options
author | Francois Perrad <francois.perrad@gadz.org> | 2016-01-01 16:30:31 +0100 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2016-03-16 22:41:20 +0800 |
commit | 3e20c442de30c583b1728500c782641f88dedbfa (patch) | |
tree | cd4fcdf5ab851bde43daea855e58d49db5598dde /session.h | |
parent | af87369cb32d4e967c389cce35f508817682f077 (diff) |
fix empty C prototypes
Diffstat (limited to 'session.h')
-rw-r--r-- | session.h | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -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 */ |