[PATCH 07/12] include: common.h: move out RW_BUF_SIZE definition
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon Oct 14 04:50:35 PDT 2024
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
include/common.h | 2 --
include/unistd.h | 2 ++
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/common.h b/include/common.h
index 12961abbf2f5..dd0d6548e5db 100644
--- a/include/common.h
+++ b/include/common.h
@@ -31,6 +31,4 @@ void reginfo(void);
/* common/memsize.c */
long get_ram_size (volatile long *, long);
-#define RW_BUF_SIZE (unsigned)4096
-
#endif /* __COMMON_H_ */
diff --git a/include/unistd.h b/include/unistd.h
index b78acbfd737a..f3d2378687e4 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -5,6 +5,8 @@
#include <linux/types.h>
#include <fcntl.h>
+#define RW_BUF_SIZE (unsigned)4096
+
struct stat;
int unlinkat(int dirfd, const char *pathname, int flags);
--
2.39.5
More information about the barebox
mailing list