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 /channel.h | |
parent | af87369cb32d4e967c389cce35f508817682f077 (diff) |
fix empty C prototypes
Diffstat (limited to 'channel.h')
-rw-r--r-- | channel.h | 28 |
1 files changed, 14 insertions, 14 deletions
@@ -105,23 +105,23 @@ struct ChanType { void channel_connect_done(int result, int sock, void* user_data, const char* errstring); void chaninitialise(const struct ChanType *chantypes[]); -void chancleanup(); +void chancleanup(void); void setchannelfds(fd_set *readfds, fd_set *writefds, int allow_reads); void channelio(fd_set *readfd, fd_set *writefd); -struct Channel* getchannel(); +struct Channel* getchannel(void); /* Returns an arbitrary channel that is in a ready state - not being initialised and no EOF in either direction. NULL if none. */ -struct Channel* get_any_ready_channel(); +struct Channel* get_any_ready_channel(void); -void recv_msg_channel_open(); -void recv_msg_channel_request(); +void recv_msg_channel_open(void); +void recv_msg_channel_request(void); void send_msg_channel_failure(struct Channel *channel); void send_msg_channel_success(struct Channel *channel); -void recv_msg_channel_data(); -void recv_msg_channel_extended_data(); -void recv_msg_channel_window_adjust(); -void recv_msg_channel_close(); -void recv_msg_channel_eof(); +void recv_msg_channel_data(void); +void recv_msg_channel_extended_data(void); +void recv_msg_channel_window_adjust(void); +void recv_msg_channel_close(void); +void recv_msg_channel_eof(void); void common_recv_msg_channel_data(struct Channel *channel, int fd, circbuffer * buf); @@ -132,13 +132,13 @@ extern const struct ChanType clichansess; #if defined(USING_LISTENERS) || defined(DROPBEAR_CLIENT) int send_msg_channel_open_init(int fd, const struct ChanType *type); -void recv_msg_channel_open_confirmation(); -void recv_msg_channel_open_failure(); +void recv_msg_channel_open_confirmation(void); +void recv_msg_channel_open_failure(void); #endif void start_send_channel_request(struct Channel *channel, char *type); -void send_msg_request_success(); -void send_msg_request_failure(); +void send_msg_request_success(void); +void send_msg_request_failure(void); #endif /* DROPBEAR_CHANNEL_H_ */ |