aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeer <himbeer@disroot.org>2025-05-08 14:57:35 +0200
committerHimbeer <himbeer@disroot.org>2025-05-08 14:57:35 +0200
commiteb4df1d9f52eef9b7f3641f32b608c040ffd401b (patch)
tree0889886dd33547a3a06a3c4748ac21658742c1b1
parent26f15aea436f136575a96af2c57051142f87ba13 (diff)
Fix syntax of type.c
-rw-r--r--src/type.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/type.c b/src/type.c
index ebd2926..a8576f4 100644
--- a/src/type.c
+++ b/src/type.c
@@ -1,15 +1,15 @@
#include "type.h"
-const struct cer_int cer_int8_t = struct cer_int { .bits = 8, .issigned = 1 };
-const struct cer_int cer_uint8_t = struct cer_int { .bits = 8, .issigned = 0 };
-const struct cer_int cer_int16_t = struct cer_int { .bits = 16, .issigned = 1 };
-const struct cer_int cer_uint16_t = struct cer_int { .bits = 16, .issigned = 0 };
-const struct cer_int cer_int32_t = struct cer_int { .bits = 32, .issigned = 1 };
-const struct cer_int cer_uint32_t = struct cer_int { .bits = 32, .issigned = 0 };
-const struct cer_int cer_int64_t = struct cer_int { .bits = 64, .issigned = 1 };
-const struct cer_int cer_uint64_t = struct cer_int { .bits = 64, .issigned = 0 };
-const struct cer_int cer_int_t = struct cer_int { .bits = PLATBITS, .issigned = 1 };
-const struct cer_int cer_uint_t = struct cer_int { .bits = PLATBITS, .issigned = 0 };
+const struct cer_int cer_int8_t = { .bits = 8, .issigned = 1 };
+const struct cer_int cer_uint8_t = { .bits = 8, .issigned = 0 };
+const struct cer_int cer_int16_t = { .bits = 16, .issigned = 1 };
+const struct cer_int cer_uint16_t = { .bits = 16, .issigned = 0 };
+const struct cer_int cer_int32_t = { .bits = 32, .issigned = 1 };
+const struct cer_int cer_uint32_t = { .bits = 32, .issigned = 0 };
+const struct cer_int cer_int64_t = { .bits = 64, .issigned = 1 };
+const struct cer_int cer_uint64_t = { .bits = 64, .issigned = 0 };
+const struct cer_int cer_int_t = { .bits = PLATBITS, .issigned = 1 };
+const struct cer_int cer_uint_t = { .bits = PLATBITS, .issigned = 0 };
-const struct cer_float cer_float32_t = struct cer_float { .bits = 32 };
-const struct cer_float cer_floaf64_t = struct cer_float { .bits = 64 };
+const struct cer_float cer_float32_t = { .bits = 32 };
+const struct cer_float cer_float64_t = { .bits = 64 };