From: Alejandro Colomar Date: Thu, 18 Feb 2021 21:23:55 +0000 (+0100) Subject: _exit.2: SYNOPSIS: Use 'noreturn' in prototypes X-Git-Tag: man-pages-5.11~155 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8a9e2bbf5f3e483e35f2a8410d09b4ee268e6a4;p=thirdparty%2Fman-pages.git _exit.2: SYNOPSIS: Use 'noreturn' in prototypes POSIX specifies that _exit() and _Exit() shall not return. Glibc uses __attribute__((__noreturn__)). Let's use standard C11 'noreturn' in the manual page. Signed-off-by: Alejandro Colomar Signed-off-by: Michael Kerrisk --- diff --git a/man2/_exit.2 b/man2/_exit.2 index fe43f47cee..6e8e77a843 100644 --- a/man2/_exit.2 +++ b/man2/_exit.2 @@ -33,11 +33,11 @@ _exit, _Exit \- terminate the calling process .nf .B #include .PP -.BI "void _exit(int " status ); +.BI "noreturn void _exit(int " status ); .PP .B #include .PP -.BI "void _Exit(int " status ); +.BI "noreturn void _Exit(int " status ); .fi .PP .RS -4