diff options
author | Himbeer <himbeer@disroot.org> | 2025-05-08 14:57:35 +0200 |
---|---|---|
committer | Himbeer <himbeer@disroot.org> | 2025-05-08 14:57:35 +0200 |
commit | eb4df1d9f52eef9b7f3641f32b608c040ffd401b (patch) | |
tree | 0889886dd33547a3a06a3c4748ac21658742c1b1 | |
parent | 26f15aea436f136575a96af2c57051142f87ba13 (diff) |
Fix syntax of type.c
-rw-r--r-- | src/type.c | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -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 }; |