summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2021-11-12 14:59:08 -0600
committerCommit Bot <commit-bot@chromium.org>2021-11-18 04:55:43 +0000
commitaa4faa33e4d73f7b36eec3555093f3aa1162825e (patch)
tree84afed2a11b7869655f0627bdfc4bb70012a4d0b
parent8cd253a69df01e5bb21fa5aaf22306047ff18c44 (diff)
downloadchrome-ec-aa4faa33e4d73f7b36eec3555093f3aa1162825e.tar.gz
Revert "Add uint_(least|fast)*_t types"
This reverts commit 0d385e7e5754327dae713415d3b931172514eae9. BUG=b:200823466 TEST=make buildall -j Change-Id: I14ee9d651c849e11709a853c86d121dfad047d05 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3285761 Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
-rw-r--r--builtin/stdint.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/builtin/stdint.h b/builtin/stdint.h
index ada936c2d3..c11ffdb273 100644
--- a/builtin/stdint.h
+++ b/builtin/stdint.h
@@ -21,28 +21,7 @@ typedef signed long long int64_t;
typedef unsigned int uintptr_t;
typedef int intptr_t;
-/* uint_leastX_t represents the smallest type available with at least X bits.
- * uint_fastX_t represents the fastest type available with at least X bits.
- */
typedef uint8_t uint_least8_t;
-typedef uint16_t uint_least16_t;
-typedef uint32_t uint_least32_t;
-typedef uint64_t uint_least64_t;
-
-typedef int8_t int_least8_t;
-typedef int16_t int_least16_t;
-typedef int32_t int_least32_t;
-typedef int64_t int_least64_t;
-
-typedef uint8_t uint_fast8_t;
-typedef uint16_t uint_fast16_t;
-typedef uint32_t uint_fast32_t;
-typedef uint64_t uint_fast64_t;
-
-typedef int8_t int_fast8_t;
-typedef int16_t int_fast16_t;
-typedef int32_t int_fast32_t;
-typedef int64_t int_fast64_t;
#ifndef UINT8_MAX
#define UINT8_MAX (255U)