about summary refs log tree commit diff
path: root/include/cmplog.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cmplog.h')
-rw-r--r--include/cmplog.h9
1 files changed, 5 insertions, 4 deletions
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
+