summary refs log tree commit diff
path: root/bin/1sh/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/1sh/test.c')
-rw-r--r--bin/1sh/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/1sh/test.c b/bin/1sh/test.c
index 594a7d89..71c62e11 100644
--- a/bin/1sh/test.c
+++ b/bin/1sh/test.c
@@ -38,7 +38,7 @@
 #else
 #include <locale.h>
 
-static void error(const char *, ...) __dead2 __printf0like(1, 2);
+static void error(const char *, ...) __attribute__((noreturn)) __printf0like(1, 2);
 
 static void
 error(const char *msg, ...)