diff mbox series

[v5,15/35] exit_group.2: Use 'noreturn' in prototypes

Message ID 20210404115847.78166-16-alx.manpages@gmail.com
State Not Applicable
Headers show
Series None | expand

Commit Message

Alejandro Colomar \(man-pages\) April 4, 2021, 11:58 a.m. UTC
This function never returns to its caller.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
 man2/exit_group.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Kerrisk \(man-pages\) April 5, 2021, 10:43 a.m. UTC | #1
Hi ALex,

On 4/4/21 1:58 PM, Alejandro Colomar wrote:
> This function never returns to its caller.
> 
> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>


Patch applied.

Thanks,

Michael


> ---
>  man2/exit_group.2 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man2/exit_group.2 b/man2/exit_group.2
> index d26ec8c70..4fd314262 100644
> --- a/man2/exit_group.2
> +++ b/man2/exit_group.2
> @@ -29,7 +29,7 @@ exit_group \- exit all threads in a process
>  .nf
>  .B #include <linux/unistd.h>
>  .PP
> -.BI "void exit_group(int " status );
> +.BI "noreturn void exit_group(int " status );
>  .fi
>  .SH DESCRIPTION
>  This system call is equivalent to
>
diff mbox series

Patch

diff --git a/man2/exit_group.2 b/man2/exit_group.2
index d26ec8c70..4fd314262 100644
--- a/man2/exit_group.2
+++ b/man2/exit_group.2
@@ -29,7 +29,7 @@  exit_group \- exit all threads in a process
 .nf
 .B #include <linux/unistd.h>
 .PP
-.BI "void exit_group(int " status );
+.BI "noreturn void exit_group(int " status );
 .fi
 .SH DESCRIPTION
 This system call is equivalent to