Skip to content
Commit dece8476 authored by Thomas Weißschuh's avatar Thomas Weißschuh
Browse files

tools/nolibc: annotate va_list printf formats

__attribute__(format(printf)) can also be used for functions that take a
va_list argument.

As per the GCC docs:

    For functions where the arguments are not available to be checked
    (such as vprintf), specify the third parameter as zero.

Link: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html


Signed-off-by: default avatarThomas Weißschuh <linux@weissschuh.net>
parent b9e64724
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment