aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libuutil/uu_pname.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libuutil/uu_pname.c')
-rw-r--r--lib/libuutil/uu_pname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libuutil/uu_pname.c b/lib/libuutil/uu_pname.c
index b6c9f2cc0..610b8585d 100644
--- a/lib/libuutil/uu_pname.c
+++ b/lib/libuutil/uu_pname.c
@@ -40,7 +40,7 @@
static const char *pname;
-static _Noreturn void
+static __attribute__((noreturn)) void
uu_die_internal(int status, const char *format, va_list alist);
int uu_exit_ok_value = EXIT_SUCCESS;
@@ -110,7 +110,7 @@ uu_warn(const char *format, ...)
va_end(alist);
}
-static __attribute__((format(printf, 2, 0))) _Noreturn void
+static __attribute__((format(printf, 2, 0))) __attribute__((noreturn)) void
uu_die_internal(int status, const char *format, va_list alist)
{
uu_warn_internal(errno, format, alist);