From c0ef0c2549b17661c25d1ed12f52ceb5091da52e Mon Sep 17 00:00:00 2001 From: Lassi Kortela Date: Fri, 9 Aug 2019 21:11:40 +0300 Subject: [PATCH] Remove more useless typedefs --- c/dtypes.h | 7 ------- c/flisp.h | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/c/dtypes.h b/c/dtypes.h index c8f0e11..53b6845 100644 --- a/c/dtypes.h +++ b/c/dtypes.h @@ -104,20 +104,13 @@ typedef int bool_t; #ifdef BITS64 #define TOP_BIT 0x8000000000000000 #define NBITS 64 -typedef int64_t offset_t; typedef uint64_t index_t; #else #define TOP_BIT 0x80000000 #define NBITS 32 -typedef int32_t offset_t; typedef uint32_t index_t; #endif -typedef uint8_t uint8_t; -typedef uint16_t uint16_t; -typedef uint32_t uint32_t; -typedef uint64_t uint64_t; - #define LLT_ALIGN(x, sz) (((x) + (sz - 1)) & (-sz)) // branch prediction annotations diff --git a/c/flisp.h b/c/flisp.h index 19b2818..ca598ed 100644 --- a/c/flisp.h +++ b/c/flisp.h @@ -1,6 +1,6 @@ typedef uintptr_t value_t; -typedef intptr_t fixnum_t; typedef uintptr_t ufixnum_t; +typedef intptr_t fixnum_t; #ifdef BITS64 #define T_FIXNUM T_INT64 #else