summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/handshake/handshake_table.c
diff options
context:
space:
mode:
authortb <>2021-10-13 17:00:35 +0000
committertb <>2021-10-13 17:00:35 +0000
commitac504c87e580661c9779482d70d015e7b5441998 (patch)
tree14cd11f367f3d9830c16354bd1fc172c949937aa /src/regress/lib/libssl/handshake/handshake_table.c
parent307ddc0f70a07e67c35e2aab23f4ef54d9c5c081 (diff)
downloadopenbsd-ac504c87e580661c9779482d70d015e7b5441998.tar.gz
openbsd-ac504c87e580661c9779482d70d015e7b5441998.tar.bz2
openbsd-ac504c87e580661c9779482d70d015e7b5441998.zip
Remove __dead from usage() to reduce the diff needed to build LibreSSL
on sortix. Prompted by a diff by Jonas Termansen
Diffstat (limited to 'src/regress/lib/libssl/handshake/handshake_table.c')
-rw-r--r--src/regress/lib/libssl/handshake/handshake_table.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regress/lib/libssl/handshake/handshake_table.c b/src/regress/lib/libssl/handshake/handshake_table.c
index 88777f6fa8..5651c6deb7 100644
--- a/src/regress/lib/libssl/handshake/handshake_table.c
+++ b/src/regress/lib/libssl/handshake/handshake_table.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: handshake_table.c,v 1.15 2020/05/14 18:04:19 tb Exp $ */ 1/* $OpenBSD: handshake_table.c,v 1.16 2021/10/13 17:00:35 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2019 Theo Buehler <tb@openbsd.org> 3 * Copyright (c) 2019 Theo Buehler <tb@openbsd.org>
4 * 4 *
@@ -152,7 +152,7 @@ void fprint_entry(FILE *stream,
152 uint8_t flags); 152 uint8_t flags);
153void fprint_flags(FILE *stream, uint8_t flags); 153void fprint_flags(FILE *stream, uint8_t flags);
154const char *mt2str(enum tls13_message_type mt); 154const char *mt2str(enum tls13_message_type mt);
155__dead void usage(void); 155void usage(void);
156int verify_table(enum tls13_message_type 156int verify_table(enum tls13_message_type
157 table[MAX_FLAGS][TLS13_NUM_MESSAGE_TYPES], int print); 157 table[MAX_FLAGS][TLS13_NUM_MESSAGE_TYPES], int print);
158 158
@@ -449,7 +449,7 @@ verify_table(enum tls13_message_type table[MAX_FLAGS][TLS13_NUM_MESSAGE_TYPES],
449 return success; 449 return success;
450} 450}
451 451
452__dead void 452void
453usage(void) 453usage(void)
454{ 454{
455 fprintf(stderr, "usage: handshake_table [-C | -g]\n"); 455 fprintf(stderr, "usage: handshake_table [-C | -g]\n");