[PATCH] stdio-common: Add nonnull attribute to stdio_ext.h functions.

Collin Funk collin.funk1@gmail.com
Wed May 28 16:23:43 GMT 2025


Collin Funk <collin.funk1@gmail.com> writes:

> * stdio-common/stdio_ext.h (__fbufsize, __freading, __fwriting)
> (__freadable, __fwritable, __flbf, __fpurge, __fpending, __fsetlocking):
> Add __nonnull ((1)) to these functions since they access the FP without
> checking if it is NULL.
>
> Signed-off-by: Collin Funk <collin.funk1@gmail.com>
> ---
>  stdio-common/stdio_ext.h | 18 +++++++++---------
>  1 file changed, 9 insertions(+), 9 deletions(-)

Friendly ping.

Collin


More information about the Libc-alpha mailing list