summary refs log tree commit diff
path: root/bin/1sh/error.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-06-07 16:26:50 -0400
committerJune McEnroe <june@causal.agency>2020-06-08 16:46:02 -0400
commit3177ae700a2ba82ef2282ddc5404d8de8646cd57 (patch)
treeff48920e981a92b37d9281f636d9dbe0fa451532 /bin/1sh/error.c
parentReplace __FBSDID macros with comments (diff)
downloadsrc-3177ae700a2ba82ef2282ddc5404d8de8646cd57.tar.gz
src-3177ae700a2ba82ef2282ddc5404d8de8646cd57.zip
Replace __dead2 with __attribute__((noreturn))
sed 's/__dead2/__attribute__((noreturn))/'
Diffstat (limited to '')
-rw-r--r--bin/1sh/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/1sh/error.c b/bin/1sh/error.c
index 1cc55ded..62d406f5 100644
--- a/bin/1sh/error.c
+++ b/bin/1sh/error.c
@@ -67,7 +67,7 @@ volatile sig_atomic_t suppressint;
 volatile sig_atomic_t intpending;
 
 
-static void exverror(int, const char *, va_list) __printf0like(2, 0) __dead2;
+static void exverror(int, const char *, va_list) __printf0like(2, 0) __attribute__((noreturn));
 
 /*
  * Called to raise an exception.  Since C doesn't include exceptions, we