From 23bb859cfcefe5225851b00deaf7b61189b8c06d Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Sat, 30 Oct 2021 16:17:37 +0200 Subject: include: add dedicated header for printf/printk Including for printf is a bit problematic, because it pulls in other headers for , which includes quite a few more headers as well. To make it easier to share code between barebox and host tools make the new minimal header for printf and move the extra logging stuff into . Signed-off-by: Ahmad Fatoum Link: https://lore.barebox.org/20211030141739.2207431-3-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer --- fs/pstore/platform.c | 2 +- fs/pstore/ram.c | 2 +- fs/squashfs/squashfs.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'fs') diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c index f4b77226d9..50a1bffdd0 100644 --- a/fs/pstore/platform.c +++ b/fs/pstore/platform.c @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include #include "internal.h" diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c index 958f46b0ea..0d8bb8f418 100644 --- a/fs/pstore/ram.c +++ b/fs/pstore/ram.c @@ -31,7 +31,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/fs/squashfs/squashfs.h b/fs/squashfs/squashfs.h index 825df2aedd..9ddcfbf1c2 100644 --- a/fs/squashfs/squashfs.h +++ b/fs/squashfs/squashfs.h @@ -17,7 +17,7 @@ * squashfs.h */ -#include +#include #include #include #include -- cgit v1.2.3