summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/packet.h
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2013-07-12 00:20:01 +0000
committerDamien Miller <djm@cvs.openbsd.org>2013-07-12 00:20:01 +0000
commitd9e1c46d70d52bf44147fad7c7676f88cd662d15 (patch)
treeda4642a18eee48e55de2e86fec9aae2a3cbb57ec /usr.bin/ssh/packet.h
parente79178d245caa4af6b5f70eb02fda085bcb53968 (diff)
fix pointer-signedness warnings from clang/llvm-3.3; "seems nice" deraadt@
Diffstat (limited to 'usr.bin/ssh/packet.h')
-rw-r--r--usr.bin/ssh/packet.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/packet.h b/usr.bin/ssh/packet.h
index 0941b5d54ab..9388140891a 100644
--- a/usr.bin/ssh/packet.h
+++ b/usr.bin/ssh/packet.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.h,v 1.58 2013/05/16 02:00:34 dtucker Exp $ */
+/* $OpenBSD: packet.h,v 1.59 2013/07/12 00:19:59 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -65,7 +65,7 @@ void *packet_get_raw(u_int *length_ptr);
void *packet_get_string(u_int *length_ptr);
char *packet_get_cstring(u_int *length_ptr);
void *packet_get_string_ptr(u_int *length_ptr);
-void packet_disconnect(const char *fmt,...) __attribute__((format(printf, 1, 2)));
+void packet_disconnect(const char *fmt,...) __attribute__((noreturn)) __attribute__((format(printf, 1, 2)));
void packet_send_debug(const char *fmt,...) __attribute__((format(printf, 1, 2)));
void set_newkeys(int mode);