mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-05-24 10:39:52 +00:00
25 lines
714 B
C
25 lines
714 B
C
![]() |
/* SPDX-License-Identifier: LGPL-2.1 OR MIT */
|
||
|
/*
|
||
|
* Standard definitions and types for NOLIBC
|
||
|
* Copyright (C) 2023 Vincent Dagonneau <v@vda.io>
|
||
|
*/
|
||
|
|
||
|
#ifndef _NOLIBC_STDINT_H
|
||
|
#define _NOLIBC_STDINT_H
|
||
|
|
||
|
typedef unsigned char uint8_t;
|
||
|
typedef signed char int8_t;
|
||
|
typedef unsigned short uint16_t;
|
||
|
typedef signed short int16_t;
|
||
|
typedef unsigned int uint32_t;
|
||
|
typedef signed int int32_t;
|
||
|
typedef unsigned long long uint64_t;
|
||
|
typedef signed long long int64_t;
|
||
|
typedef unsigned long size_t;
|
||
|
typedef signed long ssize_t;
|
||
|
typedef unsigned long uintptr_t;
|
||
|
typedef signed long intptr_t;
|
||
|
typedef signed long ptrdiff_t;
|
||
|
|
||
|
#endif /* _NOLIBC_STDINT_H */
|