mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
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:
committed by
Jan Höppner
parent
ea14f5471c
commit
8face3e63e
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user