diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2020-05-09 10:34:26 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2020-05-09 10:34:26 +0000 |
commit | e54d48c85e3e92bd6405562d35175f2cbf7c8375 (patch) | |
tree | 3d853d057ca6acef71cdb4bfb003bc9639751885 | |
parent | 7062ca77493452d4c5896a9992e50e4c31cd050d (diff) |
aml_die() doesn't return, hint the compiler
Avoids an uninitialized variable warning. ok kettenis@
-rw-r--r-- | sys/dev/acpi/dsdt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/dsdt.c b/sys/dev/acpi/dsdt.c index bf69380f6d6..ef224bbe006 100644 --- a/sys/dev/acpi/dsdt.c +++ b/sys/dev/acpi/dsdt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dsdt.c,v 1.250 2020/04/06 23:16:50 cheloha Exp $ */ +/* $OpenBSD: dsdt.c,v 1.251 2020/05/09 10:34:25 jca Exp $ */ /* * Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org> * @@ -102,7 +102,7 @@ struct aml_value *aml_callosi(struct aml_scope *, struct aml_value *); const char *aml_getname(const char *); int64_t aml_hextoint(const char *); void aml_dump(int, uint8_t *); -void _aml_die(const char *fn, int line, const char *fmt, ...); +__dead void _aml_die(const char *fn, int line, const char *fmt, ...); #define aml_die(x...) _aml_die(__FUNCTION__, __LINE__, x) void aml_notify_task(void *, int); |