[PATCH 2/3] bsps/sparc64: Fix redefinitions

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Feb 7 13:22:51 UTC 2018


---
 bsps/sparc64/include/boot/gentypes.h | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/bsps/sparc64/include/boot/gentypes.h b/bsps/sparc64/include/boot/gentypes.h
index a3e82d6eef..57f3725baf 100644
--- a/bsps/sparc64/include/boot/gentypes.h
+++ b/bsps/sparc64/include/boot/gentypes.h
@@ -35,11 +35,8 @@
 #ifndef BOOT_GENTYPES_H_
 #define BOOT_GENTYPES_H_
 
-#define NULL 0
-#define false 0
-#define true 1
-
-typedef unsigned long size_t;
+#include <stddef.h>
+#include <stdbool.h>
 
 #endif
 
-- 
2.12.3




More information about the devel mailing list