zipl/libc: Use stdint.h instead of self defined macros

Signed-off-by: Philipp Rudo <prudo@linux.ibm.com>
Reviewed-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Philipp Rudo
2019-11-04 16:19:35 +01:00
committed by Jan Höppner
parent ea14f5471c
commit 8face3e63e

View File

@@ -11,6 +11,8 @@
#ifndef LIBC_H
#define LIBC_H
#include <stdint.h>
#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);