From b6c5974b3781449996f2791b80e22c9fa6c9ba18 Mon Sep 17 00:00:00 2001 From: Andrea Fioraldi Date: Fri, 17 Jan 2020 16:41:30 +0100 Subject: format --- include/cmplog.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'include/cmplog.h') diff --git a/include/cmplog.h b/include/cmplog.h index 26d4b692..d5947226 100644 --- a/include/cmplog.h +++ b/include/cmplog.h @@ -6,7 +6,7 @@ #define CMP_MAP_W 65536 #define CMP_MAP_H 256 -#define SHAPE_BYTES(x) (x+1) +#define SHAPE_BYTES(x) (x + 1) #define CMP_TYPE_INS 0 #define CMP_TYPE_RTN 1 @@ -18,9 +18,9 @@ struct cmp_header { unsigned cnt : 20; unsigned id : 16; - unsigned shape : 5; // from 0 to 31 + unsigned shape : 5; // from 0 to 31 unsigned type : 1; - + } __attribute__((packed)); struct cmp_operands { @@ -41,9 +41,10 @@ typedef struct cmp_operands cmp_map_list[CMP_MAP_H]; struct cmp_map { - struct cmp_header headers[CMP_MAP_W]; + struct cmp_header headers[CMP_MAP_W]; struct cmp_operands log[CMP_MAP_W][CMP_MAP_H]; }; #endif + -- cgit 1.4.1