]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: sshpkt_fatal() does not return; ok djm
authormarkus@openbsd.org <markus@openbsd.org>
Fri, 6 Mar 2020 18:11:10 +0000 (18:11 +0000)
committerDamien Miller <djm@mindrot.org>
Fri, 13 Mar 2020 02:13:30 +0000 (13:13 +1100)
OpenBSD-Commit-ID: 7dfe847e28bd78208eb227b37f29f4a2a0929929

packet.h

index 8ccfd2e05e8abaaa6f253200aba4882667337d18..c2544bd966078c83fc23e64f802b49657d4c0d6f 100644 (file)
--- a/packet.h
+++ b/packet.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.h,v 1.91 2019/09/06 05:23:55 djm Exp $ */
+/* $OpenBSD: packet.h,v 1.92 2020/03/06 18:11:10 markus Exp $ */
 
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -177,7 +177,8 @@ int     sshpkt_disconnect(struct ssh *, const char *fmt, ...)
            __attribute__((format(printf, 2, 3)));
 int    sshpkt_add_padding(struct ssh *, u_char);
 void   sshpkt_fatal(struct ssh *ssh, int r, const char *fmt, ...)
-           __attribute__((format(printf, 3, 4)));
+           __attribute__((format(printf, 3, 4)))
+           __attribute__((noreturn));
 int    sshpkt_msg_ignore(struct ssh *, u_int);
 
 int    sshpkt_put(struct ssh *ssh, const void *v, size_t len);