diff --git a/network.h b/network.h index 84287e72..689b4c5f 100644 --- a/network.h +++ b/network.h @@ -163,14 +163,14 @@ static inline void sk_flush(Socket *s) static inline void plug_log( Plug *p, int type, SockAddr *addr, int port, const char *msg, int code) -{ return p->vt->log(p, type, addr, port, msg, code); } +{ p->vt->log(p, type, addr, port, msg, code); } static inline void plug_closing( Plug *p, const char *msg, int code, bool calling_back) -{ return p->vt->closing(p, msg, code, calling_back); } +{ p->vt->closing(p, msg, code, calling_back); } static inline void plug_receive(Plug *p, int urg, const char *data, size_t len) -{ return p->vt->receive(p, urg, data, len); } +{ p->vt->receive(p, urg, data, len); } static inline void plug_sent (Plug *p, size_t bufsize) -{ return p->vt->sent(p, bufsize); } +{ p->vt->sent(p, bufsize); } static inline int plug_accepting(Plug *p, accept_fn_t cons, accept_ctx_t ctx) { return p->vt->accepting(p, cons, ctx); } diff --git a/ssh.h b/ssh.h index 15542f59..cfd10746 100644 --- a/ssh.h +++ b/ssh.h @@ -647,10 +647,10 @@ static inline void ssh_cipher_decrypt(ssh_cipher *c, void *blk, int len) { c->vt->decrypt(c, blk, len); } static inline void ssh_cipher_encrypt_length( ssh_cipher *c, void *blk, int len, unsigned long seq) -{ return c->vt->encrypt_length(c, blk, len, seq); } +{ c->vt->encrypt_length(c, blk, len, seq); } static inline void ssh_cipher_decrypt_length( ssh_cipher *c, void *blk, int len, unsigned long seq) -{ return c->vt->decrypt_length(c, blk, len, seq); } +{ c->vt->decrypt_length(c, blk, len, seq); } static inline const struct ssh_cipheralg *ssh_cipher_alg(ssh_cipher *c) { return c->vt; } @@ -728,9 +728,9 @@ static inline ssh_hash *ssh_hash_new(const ssh_hashalg *alg) static inline ssh_hash *ssh_hash_copy(ssh_hash *h) { return h->vt->copy(h); } static inline void ssh_hash_final(ssh_hash *h, unsigned char *out) -{ return h->vt->final(h, out); } +{ h->vt->final(h, out); } static inline void ssh_hash_free(ssh_hash *h) -{ return h->vt->free(h); } +{ h->vt->free(h); } static inline const ssh_hashalg *ssh_hash_alg(ssh_hash *h) { return h->vt; } diff --git a/sshchan.h b/sshchan.h index df063f05..cedf357e 100644 --- a/sshchan.h +++ b/sshchan.h @@ -250,8 +250,8 @@ static inline void sshfwd_x11_sharing_handover( SshChannel *c, ssh_sharing_connstate *cs, share_channel *sch, const char *addr, int port, int endian, int maj, int min, const void *idata, int ilen) -{ return c->vt->x11_sharing_handover(c, cs, sch, addr, port, endian, - maj, min, idata, ilen); } +{ c->vt->x11_sharing_handover(c, cs, sch, addr, port, endian, + maj, min, idata, ilen); } static inline void sshfwd_send_exit_status(SshChannel *c, int status) { c->vt->send_exit_status(c, status); } static inline void sshfwd_send_exit_signal(