aboutsummaryrefslogtreecommitdiff
path: root/patches/0021-m4-Use-_Noreturn-instead-of-__dead.patch
blob: c78d504e91ed96ad25f862013d1350088879fe6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 0f0eb43f3d6fb749fac229e3d6c8f74b2c40ece2 Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Tue, 10 Apr 2018 16:03:44 -0700
Subject: [PATCH] m4: Use _Noreturn instead of __dead

---
 usr.bin/m4/extern.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.bin/m4/extern.h b/usr.bin/m4/extern.h
index ea8406b8540..0c07599777d 100644
--- a/usr.bin/m4/extern.h
+++ b/usr.bin/m4/extern.h
@@ -113,7 +113,7 @@ extern void	usage(void);
 extern void	resizedivs(int);
 extern size_t	buffer_mark(void);
 extern void	dump_buffer(FILE *, size_t);
-extern void	__dead m4errx(int, const char *, ...);
+extern void	_Noreturn m4errx(int, const char *, ...);
 
 extern int	obtain_char(struct input_file *);
 extern void	set_input(struct input_file *, FILE *, const char *);
-- 
2.17.0