summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2020-03-06 18:11:11 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2020-03-06 18:11:11 +0000
commitb785a6bb4b3e0b75fd2faaf8d619975d619e387f (patch)
treeb6f035ff02a41e7cb884a505871069248016bf59 /usr.bin
parent8740d87304e330b7679e4c5ca26a23581040b9e4 (diff)
sshpkt_fatal() does not return; ok djm
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/packet.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/packet.h b/usr.bin/ssh/packet.h
index acc589225de..2fc6c5b7191 100644
--- a/usr.bin/ssh/packet.h
+++ b/usr.bin/ssh/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>
@@ -171,7 +171,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);