diff options
author | Yunchih Chen <yunchih.cat@gmail.com> | 2018-03-20 10:21:19 +0800 |
---|---|---|
committer | Yunchih Chen <yunchih.cat@gmail.com> | 2018-03-20 10:21:19 +0800 |
commit | 7c01202076019f13e39d3b0cc7c306bf3d0ce59d (patch) | |
tree | 129bac439b7fe01c18c0cac68b8c10d983ad4729 | |
parent | 27b6eb81637b5583f03239f6fb77c5e4ebec4406 (diff) | |
download | nfcollect-7c01202076019f13e39d3b0cc7c306bf3d0ce59d.tar nfcollect-7c01202076019f13e39d3b0cc7c306bf3d0ce59d.tar.gz nfcollect-7c01202076019f13e39d3b0cc7c306bf3d0ce59d.tar.bz2 nfcollect-7c01202076019f13e39d3b0cc7c306bf3d0ce59d.tar.lz nfcollect-7c01202076019f13e39d3b0cc7c306bf3d0ce59d.tar.xz nfcollect-7c01202076019f13e39d3b0cc7c306bf3d0ce59d.tar.zst nfcollect-7c01202076019f13e39d3b0cc7c306bf3d0ce59d.zip |
include/main.h: Minor formatting
-rw-r--r-- | include/main.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/main.h b/include/main.h index ad62417..575271d 100644 --- a/include/main.h +++ b/include/main.h @@ -55,7 +55,7 @@ do { \ fprintf(stdout, "[ERROR] " format "\n", ##__VA_ARGS__); \ exit(1); \ - } while(0) + } while (0) #define WARN(command, format, ...) \ if (command) { \ @@ -85,13 +85,13 @@ enum nfl_compression_t { COMPRESS_NONE, COMPRESS_LZ4, COMPRESS_ZSTD }; typedef struct __attribute__((packed)) _nfl_header_t { - uint32_t id; /* 0 4 */ - uint32_t n_entries; /* 4 4 */ - uint32_t max_n_entries; /* 8 4 */ - uint32_t cksum; /* 12 4 */ - enum nfl_compression_t compression_opt; /* 16 4 */ - time_t start_time; /* 20 8 */ - time_t end_time; /* 28 8 */ + uint32_t id; /* 0 4 */ + uint32_t n_entries; /* 4 4 */ + uint32_t max_n_entries; /* 8 4 */ + uint32_t cksum; /* 12 4 */ + enum nfl_compression_t compression_opt; /* 16 4 */ + time_t start_time; /* 20 8 */ + time_t end_time; /* 28 8 */ /* size: 36, cachelines: 1, members: 7 */ /* last cacheline: 36 bytes */ |