Skip to content
Browse files

libc: minimal: Add typedefs for "least" types

Based on feedback integrating with TI SimpleLink HAL.

Signed-off-by: Paul Sokolovsky <>
  • Loading branch information...
pfalcon authored and nashif committed Jun 15, 2018
1 parent 1da4ddb commit 6245d6c47b959f66ff05beee56624f9991909c29
Showing with 10 additions and 0 deletions.
  1. +10 −0 lib/libc/minimal/include/stdint.h
@@ -49,6 +49,11 @@ typedef signed int int_fast16_t;
typedef signed int int_fast32_t;
typedef signed long long int_fast64_t;

typedef signed char int_least8_t;
typedef signed short int_least16_t;
typedef signed int int_least32_t;
typedef signed long long int_least64_t;

typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
@@ -59,6 +64,11 @@ typedef unsigned int uint_fast16_t;
typedef unsigned int uint_fast32_t;
typedef unsigned long long uint_fast64_t;

typedef unsigned char uint_least8_t;
typedef unsigned short uint_least16_t;
typedef unsigned int uint_least32_t;
typedef unsigned long long uint_least64_t;

typedef int intptr_t;
typedef unsigned int uintptr_t;

0 comments on commit 6245d6c

Please sign in to comment.
You can’t perform that action at this time.