minigbm: format fix
BUG=n/a TEST=./presubmit.sh Change-Id: Ic581ebe770c648ee344cfbe20ba6655786a2088e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/5505015 Tested-by: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Satoshi Niwa <niwa@chromium.org> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
This commit is contained in:
parent
772c24c476
commit
8291bfe6f1
6 changed files with 49 additions and 52 deletions
4
util.h
4
util.h
|
|
@ -10,9 +10,9 @@
|
|||
#define MAX(A, B) ((A) > (B) ? (A) : (B))
|
||||
#define ARRAY_SIZE(A) (sizeof(A) / sizeof(*(A)))
|
||||
#define PUBLIC __attribute__((visibility("default")))
|
||||
#define ALIGN(A, B) (((A) + (B)-1) & ~((B)-1))
|
||||
#define ALIGN(A, B) (((A) + (B) - 1) & ~((B) - 1))
|
||||
#define IS_ALIGNED(A, B) (ALIGN((A), (B)) == (A))
|
||||
#define DIV_ROUND_UP(n, d) (((n) + (d)-1) / (d))
|
||||
#define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))
|
||||
#define STRINGIZE_NO_EXPANSION(x) #x
|
||||
#define STRINGIZE(x) STRINGIZE_NO_EXPANSION(x)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue