From 318a68c2084e740de13967403f9b54fc4cc4fa0c Mon Sep 17 00:00:00 2001 From: Bruno Raoult Date: Thu, 22 Jun 2023 15:17:32 +0200 Subject: [PATCH] move typedefs alltogether --- c/include/bits.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/c/include/bits.h b/c/include/bits.h index 6a841af..a4f36f7 100644 --- a/c/include/bits.h +++ b/c/include/bits.h @@ -50,6 +50,9 @@ typedef unsigned long int ulong; typedef unsigned int uint; typedef unsigned short ushort; typedef unsigned char uchar; +/* char is a special case, as it can be signed or unsigned + */ +typedef signed char schar; /* define common types sizes */ @@ -113,10 +116,6 @@ static __always_inline int popcount32(u32 n) # endif } -/* char is a special case, as it can be signed or unsigned - */ -typedef signed char schar; - /* count trailing zeroes : 00101000 -> 3 * ^^^ */