summaryrefslogtreecommitdiff
path: root/usr.bin/awk/awk.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2020-06-10 21:06:10 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2020-06-10 21:06:10 +0000
commita0ccf81ea90f2d460899d096f6f86be3c8405fcd (patch)
tree79130fab63f5f4db8849903602007cf1bc460d47 /usr.bin/awk/awk.h
parent51d4d907451fc49d221f7bdaeb344daf7b57a3ef (diff)
Update awk to June 5, 2020 version.
Diffstat (limited to 'usr.bin/awk/awk.h')
-rw-r--r--usr.bin/awk/awk.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/awk/awk.h b/usr.bin/awk/awk.h
index e010dd7184d..e55af318b9a 100644
--- a/usr.bin/awk/awk.h
+++ b/usr.bin/awk/awk.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: awk.h,v 1.22 2020/06/10 21:05:02 millert Exp $ */
+/* $OpenBSD: awk.h,v 1.23 2020/06/10 21:06:09 millert Exp $ */
/****************************************************************
Copyright (C) Lucent Technologies 1997
All Rights Reserved
@@ -26,6 +26,11 @@ THIS SOFTWARE.
#include <assert.h>
#include <stdint.h>
#include <stdbool.h>
+#if __STDC_VERSION__ <= 199901L
+#define noreturn __dead
+#else
+#include <stdnoreturn.h>
+#endif
typedef double Awkfloat;