3.1.2 pretty-print using clang-format

This commit is contained in:
Mike Brady
2017-09-07 12:02:00 +01:00
parent bbdefd9802
commit 3001f39bc5
9 changed files with 121 additions and 99 deletions
+2 -2
View File
@@ -47,8 +47,8 @@
#define MALLOC_ZERO_STRUCT(x, type) \
x = malloc(sizeof(struct type)); \
if (x) \
memset(x, 0, sizeof(struct type));
if (x) \
memset(x, 0, sizeof(struct type));
#define DECL_MALLOC_ZERO_STRUCT(x, type) struct type *MALLOC_ZERO_STRUCT(x, type)