summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranton <anton@openbsd.org>2019-06-03 19:39:16 +0000
committeranton <anton@openbsd.org>2019-06-03 19:39:16 +0000
commitd2e0f60b6ca451ba154faec96836a11bd868866a (patch)
tree6f44960a53a88da799233a92000aa59602ebb2c0
parentbe better at finding a nice directory to extract temporary files (diff)
downloadwireguard-openbsd-d2e0f60b6ca451ba154faec96836a11bd868866a.tar.xz
wireguard-openbsd-d2e0f60b6ca451ba154faec96836a11bd868866a.zip
sort struct declarations
-rw-r--r--sys/kern/subr_kubsan.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/subr_kubsan.c b/sys/kern/subr_kubsan.c
index 74697cb60fb..2333dc4f39e 100644
--- a/sys/kern/subr_kubsan.c
+++ b/sys/kern/subr_kubsan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_kubsan.c,v 1.6 2019/05/24 18:51:05 anton Exp $ */
+/* $OpenBSD: subr_kubsan.c,v 1.7 2019/06/03 19:39:16 anton Exp $ */
/*
* Copyright (c) 2019 Anton Lindqvist <anton@openbsd.org>
@@ -72,10 +72,6 @@ struct shift_out_of_bounds_data {
struct type_descriptor *d_rtype;
};
-struct unreachable_data {
- struct source_location d_src;
-};
-
struct type_mismatch_data {
struct source_location d_src;
struct type_descriptor *d_type;
@@ -83,6 +79,10 @@ struct type_mismatch_data {
uint8_t d_kind;
};
+struct unreachable_data {
+ struct source_location d_src;
+};
+
void kubsan_handle_load_invalid_value(struct invalid_value_data *,
unsigned long);
void kubsan_handle_negate_overflow(struct overflow_data *, unsigned long);