Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/68874 )
Change subject: include/string.h: Add 'IWYU pragma: export' comment ......................................................................
include/string.h: Add 'IWYU pragma: export' comment
Say to IWYU (Include What You Use) that <stdarg.h> and <stdio.h> are chain-included via <string.h>.
Change-Id: Ic4c666d8703f241967b81e1771386b348b96a6a7 Signed-off-by: Elyes Haouas ehaouas@noos.fr --- M src/include/string.h 1 file changed, 15 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/68874/1
diff --git a/src/include/string.h b/src/include/string.h index f595c7e..65fb526 100644 --- a/src/include/string.h +++ b/src/include/string.h @@ -3,9 +3,9 @@ #ifndef STRING_H #define STRING_H
-#include <stdarg.h> +#include <stdarg.h> // IWYU pragma: export #include <stddef.h> -#include <stdio.h> +#include <stdio.h> // IWYU pragma: export
void *memcpy(void *dest, const void *src, size_t n); void *memmove(void *dest, const void *src, size_t n);