From 33b9d606916f3847e0f754693ca49ce56175a330 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Thu, 3 Apr 2025 12:29:48 -0400 Subject: refactor include --- include/stdint.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 include/stdint.h (limited to 'include/stdint.h') diff --git a/include/stdint.h b/include/stdint.h new file mode 100644 index 0000000..25c442d --- /dev/null +++ b/include/stdint.h @@ -0,0 +1,27 @@ +/** + * @file stdint.h + * @author Freya Murphy + * @author Warren R. Carithers + * + * Integer definitions. + */ + +#ifndef _STDINT_H +#define _STDINT_H + +// standard integer sized types +typedef char int8_t; +typedef unsigned char uint8_t; +typedef short int16_t; +typedef unsigned short uint16_t; +typedef int int32_t; +typedef unsigned int uint32_t; +typedef long long int int64_t; +typedef unsigned long long int uint64_t; + +// other integer types +typedef unsigned char uchar_t; +typedef unsigned int uint_t; +typedef unsigned long int ulong_t; + +#endif /* stdint.h */ -- cgit v1.2.3-freya