[PATCH] libio: Clean up fputc/putc comments

Arjun Shankar arjun@redhat.com
Mon Mar 3 15:14:24 GMT 2025


> Remove duplicate comments in stdio.h
>
> Signed-off-by: Samuel Zeter <samuelzeter@gmail.com>

Thanks for the patch Samuel. LGTM.
Reviewed-by: Arjun Shankar <arjun@redhat.com>

I'll go ahead and commit it now.

> ---
>  libio/stdio.h | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/libio/stdio.h b/libio/stdio.h
> index 602f53a946..4436525731 100644
> --- a/libio/stdio.h
> +++ b/libio/stdio.h
> @@ -604,9 +604,6 @@ extern int fgetc_unlocked (FILE *__stream) __nonnull ((1));
>  /* Write a character to STREAM.
>
>     These functions are possible cancellation points and therefore not
> -   marked with __THROW.
> -
> -   These functions is a possible cancellation point and therefore not
>     marked with __THROW.  */
>  extern int fputc (int __c, FILE *__stream) __nonnull ((2));
>  extern int putc (int __c, FILE *__stream) __nonnull ((2));
> --
> 2.48.1
>



More information about the Libc-alpha mailing list