diff options
author | markus@openbsd.org <markus@openbsd.org> | 2020-03-06 18:11:10 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2020-03-13 13:13:30 +1100 |
commit | 714e1cbca17daa13f4f98978cf9e0695d4b2e0a4 (patch) | |
tree | ecd73690e274ff311851260296687d84407ee21e /packet.h | |
parent | 9b47bd7b09d191991ad9e0506bb66b74bbc93d34 (diff) |
upstream: sshpkt_fatal() does not return; ok djm
OpenBSD-Commit-ID: 7dfe847e28bd78208eb227b37f29f4a2a0929929
Diffstat (limited to 'packet.h')
-rw-r--r-- | packet.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: packet.h,v 1.91 2019/09/06 05:23:55 djm Exp $ */ | 1 | /* $OpenBSD: packet.h,v 1.92 2020/03/06 18:11:10 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -177,7 +177,8 @@ int sshpkt_disconnect(struct ssh *, const char *fmt, ...) | |||
177 | __attribute__((format(printf, 2, 3))); | 177 | __attribute__((format(printf, 2, 3))); |
178 | int sshpkt_add_padding(struct ssh *, u_char); | 178 | int sshpkt_add_padding(struct ssh *, u_char); |
179 | void sshpkt_fatal(struct ssh *ssh, int r, const char *fmt, ...) | 179 | void sshpkt_fatal(struct ssh *ssh, int r, const char *fmt, ...) |
180 | __attribute__((format(printf, 3, 4))); | 180 | __attribute__((format(printf, 3, 4))) |
181 | __attribute__((noreturn)); | ||
181 | int sshpkt_msg_ignore(struct ssh *, u_int); | 182 | int sshpkt_msg_ignore(struct ssh *, u_int); |
182 | 183 | ||
183 | int sshpkt_put(struct ssh *ssh, const void *v, size_t len); | 184 | int sshpkt_put(struct ssh *ssh, const void *v, size_t len); |