From 8face3e63ed88443392bcbcd93cc0b5e29b40069 Mon Sep 17 00:00:00 2001 From: Philipp Rudo Date: Mon, 4 Nov 2019 16:19:35 +0100 Subject: [PATCH] zipl/libc: Use stdint.h instead of self defined macros MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Philipp Rudo Reviewed-by: Stefan Haberland Signed-off-by: Jan Höppner --- zipl/boot/libc.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/zipl/boot/libc.h b/zipl/boot/libc.h index 2f6006fd..7c7c549e 100644 --- a/zipl/boot/libc.h +++ b/zipl/boot/libc.h @@ -11,6 +11,8 @@ #ifndef LIBC_H #define LIBC_H +#include + #define NULL ((void *) 0) #define EPERM 1 /* Operation not permitted */ @@ -41,11 +43,6 @@ #define MIB (1024ULL * 1024) -typedef unsigned long long uint64_t; -typedef unsigned int uint32_t; -typedef unsigned short uint16_t; -typedef unsigned char uint8_t; - void printf(const char *, ...); void sprintf(char *, const char *, ...); void *memcpy(void *, const void *, unsigned long);